BIS fnc onEnd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
||
Line 25: | Line 25: | ||
| [[Event Scripts]], [[Arma_3:_Event_Handlers/addMissionEventHandler#Ended|Ended Mission Event Handler]] |SEEALSO= | | [[Event Scripts]], [[Arma_3:_Event_Handlers/addMissionEventHandler#Ended|Ended Mission Event Handler]] |SEEALSO= | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 13:37, 17 January 2021
Description
- Description:
- Register code to be executed after mission end.
- Execution:
- call
- Groups:
- Event Handlers
Syntax
- Syntax:
- argument call BIS_fnc_onEnd
- Parameters:
- argument:
- 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