forceEnd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(alternative syntax only applies to VBS)
(works fine)
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|eff= local |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Enforces mission termination. Note that this command is not the recommended way to end a mission.  Instead, a trigger with one of the "END" types must exist on the map with an appropriate condition.|= Description
| Enforces mission termination. Can be used in an "END" trigger to force end conditions in the editor.|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 15: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>? (_TerritoryLost) : forceEnd</pre>
|x1= <pre>if (_TerritoryLost) then {forceEnd}</pre> |= Example 1
 
returns X |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[forceEnding_(VBS2)]] |= See also


}}
}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
This command appears to be outdated. In VBS2 use [[forceEnding_(VBS2)|forceEnding]] instead.


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>

Revision as of 19:06, 8 January 2009

Hover & click on the images for description

Description

Description:
Enforces mission termination. 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:
forceEnding_(VBS2)

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