onPreloadStarted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 19: Line 19:
{{Feature|arma3|In order to keep compatibility between official and community content the functions [[BIS_fnc_addStackedEventHandler]] and [[BIS_fnc_removeStackedEventHandler]] should be used instead.}}
{{Feature|arma3|In order to keep compatibility between official and community content the functions [[BIS_fnc_addStackedEventHandler]] and [[BIS_fnc_removeStackedEventHandler]] should be used instead.}}


|s1= '''onPreloadStarted''' command
|s1= '''onPreloadStarted''' command


|p1= command: [[String]] or [[Code]]
|p1= command: [[String]] or [[Code]]

Revision as of 23:20, 19 June 2021

Hover & click on the images for description

Description

Description:
Defines an action performed just before the preload screen started. Preload event occurs after briefing screen on mission start.
This event handler also fires on client after user closes the main map.

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

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.
Groups:
Event Handlers

Syntax

Syntax:
onPreloadStarted command
Parameters:
command: String or Code
Return Value:
Nothing

Examples

Example 1:
onPreloadStarted {diag_log "preload started"};

Additional Information

See also:
onPreloadFinished

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note