forceEnd: Difference between revisions

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


| 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.|= 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.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''forceEnd''' |= Syntax
| '''forceEnd''' |SYNTAX=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[if]] (_TerritoryLost) [[then]] {[[forceEnd]]}</code> |= Example 1
|x1= <code>[[if]] (_TerritoryLost) [[then]] {[[forceEnd]]}</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:39, 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