moveToFailed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
(overhaul)
Line 7: Line 7:
|gr1= Unit Control
|gr1= Unit Control


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


|s1= '''moveToFailed''' person
|s1= [[moveToFailed]] unit


|p1= person: [[Object]]
|p1= unit: [[Object]]


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


|seealso= [[moveTo]], [[moveToCompleted]]
|seealso= [[moveTo]], [[moveToCompleted]]

Revision as of 14:07, 8 February 2021

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:
moveTomoveToCompleted

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