forceEnd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(see also)
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>if (_TerritoryLost) then {forceEnd}</pre> |= Example 1
|x1= <code>[[if]] (_TerritoryLost) [[then]] {[[forceEnd]]}</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 13:53, 29 July 2017

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