onPreloadStarted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Event Handlers |GROUP1= | |gr1= Event Handlers |GROUP1= | ||
| Defines an action performed just before the preload screen started. Preload event occurs after briefing screen on mission start.<br><br> | | Defines an action performed just before the preload screen started. Preload event occurs after briefing screen on mission start.<br><br> | ||
Line 14: | Line 12: | ||
{{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.}} | ||
|DESCRIPTION= | |DESCRIPTION= | ||
| '''onPreloadStarted''' command |SYNTAX= | | '''onPreloadStarted''' command |SYNTAX= | ||
Line 28: | Line 25: | ||
|x1= <code>[[onPreloadStarted]] {[[diag_log]] "preload started"};</code>|EXAMPLE1= | |x1= <code>[[onPreloadStarted]] {[[diag_log]] "preload started"};</code>|EXAMPLE1= | ||
| [[onPreloadFinished]] |SEEALSO= | | [[onPreloadFinished]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 01:52, 17 January 2021
Description
- Description:
- Defines an action performed just before the preload screen started. Preload event occurs after briefing screen on mission start.
- Groups:
- Event Handlers
Syntax
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