Arma 3 Scripting

Command in Event Handlers

onPreloadStarted

Also available as Markdown and JSON, or read the original wiki page.

Description

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

Important

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

Note

Since Arma 3 v1.57 a stackable version of this EH is available: PreloadStarted

Note

Arma 3: In order to keep compatibility between official and community content the functions BIS_fnc_addStackedEventHandler and BIS_fnc_removeStackedEventHandler should be used instead.

Syntax

onPreloadStarted command

Parameters:

Returns: Nothing

Examples

Example 1

onPreloadStarted {diag_log "preload started"};

See also

onPreloadFinished