BIS fnc onLoad: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
Lou Montana (talk | contribs) m (Text replacement - "<br />" to "<br>") |
||
Line 8: | Line 8: | ||
| Register code to be executed after a mission load (from a save, for example). | | Register code to be executed after a mission load (from a save, for example). | ||
{{Important|Replaced by [[Arma 3: Event Handlers/addMissionEventHandler#Loaded|"loaded" mission event handler]].<br | {{Important|Replaced by [[Arma 3: Event Handlers/addMissionEventHandler#Loaded|"loaded" mission event handler]].<br> | ||
This function now exists only because of backward compatibility}} |Description= | This function now exists only because of backward compatibility}} |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 10:27, 19 March 2020
Description
- Description:
- Register code to be executed after a mission load (from a save, for example).
- Execution:
- call
- Groups:
- Uncategorised
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