moveTo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 3: | Line 3: | ||
{{GameCategory|arma1|Scripting Commands}} | {{GameCategory|arma1|Scripting Commands}} | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|arg= local | |arg= local | ||
|eff= global | |eff= global | ||
|gr1= Unit Control | |gr1= Unit Control | ||
| Low level command to person to move to given position. | | Low level command to person to move to given position. | ||
| person [[moveTo]] position | | person [[moveTo]] position | ||
|p1= person: [[Object]] | |p1= person: [[Object]] | ||
|p2= position: [[PositionATL]] | |p2= position: [[PositionATL]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_myAgent [[moveTo]] [[getPosATL]] [[player]];</code> | |x1= <code>_myAgent [[moveTo]] [[getPosATL]] [[player]];</code> | ||
| [[doMove]], [[commandMove]], [[setDestination]], [[move]], [[moveToCompleted]], [[moveToFailed]], [[addWaypoint]], [[fn_vbs_doMoveEx_(VBS2)|fn_vbs_doMoveEx]] | | [[doMove]], [[commandMove]], [[setDestination]], [[move]], [[moveToCompleted]], [[moveToFailed]], [[addWaypoint]], [[fn_vbs_doMoveEx_(VBS2)|fn_vbs_doMoveEx]] | ||
}} | }} | ||
Revision as of 01:12, 18 January 2021
Description
- Description:
- Low level command to person to move to given position.
- Groups:
- Unit Control
Syntax
- Syntax:
- person moveTo position
- Parameters:
- person: Object
- position: PositionATL
- Return Value:
- Nothing
Examples
Additional Information
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
- Posted on August 14, 2010 - 05:44
- Rübe
- moveTo is a low-level command used in FSM called with doFSM or commandFSM. See doFSM for more information about this. Use doMove everywhere else - even in FSM executed with execFSM.
Bottom Section
Categories:
- Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- Command Group: Unit Control
- Scripting Commands: Global Effect
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands