moveToCompleted: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(added : to my note) |
||
Line 38: | Line 38: | ||
|timestamp= 20220402203147 | |timestamp= 20220402203147 | ||
|text= This command can also check the status of [[doMove]] and [[commandMove]] (A3 2.08.149102) | |text= This command can also check the status of [[doMove]] and [[commandMove]] (A3 2.08.149102) | ||
This is handy to make your script wait until a unit has moved to some position | This is handy to make your script wait until a unit has moved to some position: | ||
<code>waitUntil {moveToCompleted _unit};</code> | <code>waitUntil {moveToCompleted _unit};</code> | ||
}} | }} |
Revision as of 21:32, 2 April 2022
Description
- Description:
- Check if latest low level moveTo command is finished.
- Groups:
- Unit Control
Syntax
- Syntax:
- moveToCompleted person
- Parameters:
- person: Object
- Return Value:
- Boolean
Examples
- Example 1:
_isCompleted = moveToCompleted _unit;
Additional Information
- See also:
- moveTo moveToFailed
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
- Posted on Apr 02, 2022 - 20:31 (UTC)
-
This command can also check the status of doMove and commandMove (A3 2.08.149102)
This is handy to make your script wait until a unit has moved to some position:
waitUntil {moveToCompleted _unit};
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Elite version 1.00
- Operation Flashpoint: Elite: New Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Unit Control