forceEnd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[failMission]], [[endMission]], [[enableEndDialog]]|= SEEALSO
| [[failMission]], [[endMission]], [[enableEndDialog]]|SEEALSO=  


}}
}}

Revision as of 10:31, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets the flag which tells engine that the mission end was forced. Might need additional endMission execution. Can be used in an "END" trigger to force end conditions in the editor.
Groups:
Uncategorised

Syntax

Syntax:
forceEnd
Return Value:
Nothing

Examples

Example 1:
if (_TerritoryLost) then {forceEnd}

Additional Information

See also:
failMissionendMissionenableEndDialog

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