onPreloadStarted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|1.00 | |game2= arma2oa | ||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|gr1= Event Handlers | |gr1= Event Handlers | ||
| Defines an action performed just before the preload screen started. Preload event occurs after briefing screen on mission start. | |descr= Defines an action performed just before the preload screen started. Preload event occurs after briefing screen on mission start.{{Feature | important | This event handler also fires on client after user closes the main map. }}<br> | ||
{{ | {{Feature|informative|Since '''Arma 3''' ''v1.57'' a stackable version of this EH is available: [[Arma 3: Mission Event Handlers#PreloadStarted|PreloadStarted]]}}<br> | ||
{{Feature| | |||
{{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 | ||
|p1= command: [[String]] or [[Code]] | |p1= command: [[String]] or [[Code]] | ||
| | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>onPreloadStarted {diag_log "preload started"};</sqf> | ||
| [[onPreloadFinished]] | |seealso= [[onPreloadFinished]] | ||
}} | }} | ||
Latest revision as of 00:25, 2 February 2024
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
- Syntax:
- onPreloadStarted command
- Parameters:
- command: String or Code
- Return Value:
- Nothing
Examples
- Example 1:
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