forceEnd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


|1.00|= Game version
|1.00|Game version=


|eff= local |=
|eff= local |Effect=
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=
| Forces mission ending (set with [[endMission]]) even if a camera effect or any another condition delays the endMission (mostly in [[{{ofp}}]]). |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''forceEnd''' |SYNTAX=
| [[forceEnd]] |SYNTAX=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[if]] (_TerritoryLost) [[then]] {[[forceEnd]]}</code> |EXAMPLE1=
|x1= <code>{{codecomment|// in an Ending trigger to ensure no camera is delaying mission ending}}
[[forceEnd]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 27: Line 27:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|FORCEEND]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|FORCEEND]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|FORCEEND]]
[[Category:Scripting Commands ArmA|FORCEEND]]
[[Category:Command_Group:_Mission_Information|FORCEEND]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Mission_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Broken Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 01:16, 24 July 2019

Hover & click on the images for description

Description

Description:
Forces mission ending (set with endMission) even if a camera effect or any another condition delays the endMission (mostly in Operation Flashpoint).
Groups:
Uncategorised

Syntax

Syntax:
forceEnd
Return Value:
Nothing

Examples

Example 1:
// in an Ending trigger to ensure no camera is delaying mission ending 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