BIS fnc onEnd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
mNo edit summary
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1 = Event Handlers |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 37: Line 39:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:onEnd}}]]
[[Category:Functions|{{uc:onEnd}}]]
[[Category:Functions|{{uc:onEnd}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:onEnd}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:onEnd}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:onEnd}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:onEnd}}]]

Revision as of 01:31, 10 October 2020

Hover & click on the images for description

Description

Description:
Register code to be executed after mission end.
Execution:
call
Groups:
Event Handlers

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

See also:
Event ScriptsEnded Mission Event Handler

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

Notes

Bottom Section