BIS fnc onLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Arma 3: Event Handlers/addMissionEventHandler" to "[[Arma 3: Mission Event Handlers") |
Lou Montana (talk | contribs) m (Text replacement - "\|game1= tkoh \|version1= 1\.([0-9]{2}) " to "|game1= tkoh |version1= 1.$1 |game2= arma3 |version2= 0.50 ") |
||
Line 3: | Line 3: | ||
|game1= tkoh | |game1= tkoh | ||
|version1= 1.00 | |version1= 1.00 | ||
|game2= arma3 | |||
|version2= 0.50 | |||
|gr1= Event Handlers | |gr1= Event Handlers |
Revision as of 22:09, 16 June 2021
Description
- Description:
- Register code to be executed after a mission load (from a save, for example).
- Execution:
- call
- Groups:
- Event Handlers
Syntax
- Syntax:
- parameter call BIS_fnc_onLoad
- Parameters:
- parameter: Code or Number:
- Return Value:
- Number - index of onLoad code
Examples
- Example 1:
_codeIndex = { hint "Welcome back!"; } call BIS_fnc_onLoad;
- Example 2:
0 call BIS_fnc_onLoad; // removes code with index 0
Additional Information
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