moveToFailed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
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>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|MOVETOFAILED]]
{{RV|type=command
{{GameCategory|arma1|Scripting Commands}}


{{Command
|game1= arma1
|version1= 1.00


| arma1
|game2= arma2
|version2= 1.00


|1.00
|game3= arma2oa
|version3= 1.50
 
|game4= tkoh
|version4= 1.00
 
|game5= arma3
|version5= 0.50


|gr1= Unit Control
|gr1= Unit Control


| Check if latest low level moveTo command failed.
|descr= Check if latest low level [[moveTo]] command failed.
 
|s1= [[moveToFailed]] unit


| [[Boolean]] <nowiki>=</nowiki> '''moveToFailed''' person
|p1= unit: [[Object]]


|p1= person: [[Object]]
|r1= [[Boolean]]


| [[Boolean]]
|x1= <sqf>private _hasFailed = moveToFailed _unit;</sqf>


| [[moveTo]], [[moveToCompleted]]
|seealso= [[moveTo]] [[moveToCompleted]]
}}
}}
{{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