Difference between revisions of "BIS fnc onEnd"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "|= Game name" to "|Game name=")
 
Line 2: Line 2:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| tkoh |= Game name
+
| tkoh |Game name=
  
 
|1.00|Game version=
 
|1.00|Game version=

Latest revision as of 00:51, 31 August 2019

Introduced with Take On Helicopters version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Register code to be executed after mission end.

Syntax

Syntax:
argument call BIS_fnc_onEnd
Parameters:
argument:
  • Code - code to be executed
  • Array - code with arguments in format [code, arguments]
  • Number - remove code at given index
 
Return Value:
Number - index of onEnd code

Examples

Example 1:
_onEndIndex = { player addRating 10000; } call BIS_fnc_onEnd;
Example 2:
_onEndIndex = [{ { _x addRating 10000; } forEach _this; }, units group player] call BIS_fnc_onEnd;

Additional Information

Execution:
call
See also:
Event ScriptsEnded Mission Event Handler

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section