moveToFailed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "<code>\[\[private\]\] _([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>private _$1 = $2 _$3;</sqf>")
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|MOVETOFAILED]]
{{RV|type=command
{{GameCategory|arma1|Scripting Commands}}


{{Command|Comments=
|game1= arma1
____________________________________________________________________________________________
|version1= 1.00


| arma1 |Game name=
|game2= arma2
|version2= 1.00


|1.00|Game version=
|game3= arma2oa
|version3= 1.50


|gr1= Unit Control |GROUP1=
|game4= tkoh
____________________________________________________________________________________________
|version4= 1.00


| Check if latest low level moveTo command failed. |DESCRIPTION=
|game5= arma3
____________________________________________________________________________________________
|version5= 0.50


| [[Boolean]] <nowiki>=</nowiki> '''moveToFailed''' person |SYNTAX=
|gr1= Unit Control


|p1= person: [[Object]] |PARAMETER1=
|descr= Check if latest low level [[moveTo]] command failed.


| [[Boolean]] |RETURNVALUE=
|s1= [[moveToFailed]] unit
____________________________________________________________________________________________


| [[moveTo]], [[moveToCompleted]] |SEEALSO=
|p1= unit: [[Object]]


}}
|r1= [[Boolean]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>private _hasFailed = moveToFailed _unit;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[moveTo]] [[moveToCompleted]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 22:24, 7 May 2022

Hover & click on the images for description

Description

Description:
Check if latest low level moveTo command failed.
Groups:
Unit Control

Syntax

Syntax:
moveToFailed unit
Parameters:
unit: Object
Return Value:
Boolean

Examples

Example 1:
private _hasFailed = moveToFailed _unit;

Additional Information

See also:
moveTo moveToCompleted

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