BIS fnc onLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (codecomment → cc)
m (Text replacement - "\|game([0-9])=(.*) \|version([0-9])=(.*) " to "|game$1=$2 |version$3=$4 ")
Line 2: Line 2:


|game1= tkoh
|game1= tkoh
|version1= 1.00
|version1= 1.00



Revision as of 21:00, 9 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Event Handlers

Syntax

Syntax:
parameter call BIS_fnc_onLoad
Parameters:
parameter: Code or Number:
  • Code - code to be executed on mission load
  • Number - index of code to remove
 
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

See also:
Mission Event HandlersaddMissionEventHandler

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