doMove: Difference between revisions
Jump to navigation
Jump to search
m (added a second example that works better in ArmA init lines) |
m (fixed example: position dont work for markers) |
||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>soldier1 doMove (position | |x1= <pre>soldier1 doMove (position officer)</pre> |= Example 1 | ||
|x2= <pre>this doMove (getMarkerPos "Marker1")</pre> |= Example 2 | |x2= <pre>this doMove (getMarkerPos "Marker1")</pre> |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 22:17, 14 June 2007
Description
- Description:
- Order the given unit(s) to move to the given position (without radio messages).
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit doMove position
- Parameters:
- unit: Object or Array
- position: Array (format Position)
- Return Value:
- Nothing
Examples
- Example 1:
soldier1 doMove (position officer)
- Example 2:
this doMove (getMarkerPos "Marker1")
Additional Information
- See also:
- commandMove
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 July 3, 2007 - 14:32
- Praxtor
- Notes from before the conversion: If the distance between the Object and the Ia is more than 100 Meters, the command dont work, the Ia stay stoped.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Unit Control