Arma 3 Scripting

onPreloadFinished

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · original wiki page

Description

Defines an action performed after the preload screen finished. Preload event occurs after briefing screen on mission start.

Important

This event handler also fires on client after user closes the main map.

Note

Arma 3: - Since Arma 3 v1.58 a stackable version of this EH is available: PreloadFinished

Syntax

onPreloadFinished command

Parameters:

Returns: Nothing

Examples

Example 1

onPreloadFinished {TAG_ReceivingScreenDone = true};

Example 2

// removes the event immediately after the first run again
onPreloadFinished { TAG_ReceivingScreenDone = true; onPreloadFinished "" };

See also

onPreloadStarted