setDestination: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| arma1 \|1.00 \|([^g]|g[^a])" to "| ofpe | 1.00 |game2= arma1 |version2= 1.00 |game3= arma2 |version3= 1.00 |game4= arma2oa |version4= 1.50 |game5= tkoh |version5= 1.00 |game6= arma3 |version6= 0.50 |$1") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 38: | Line 38: | ||
Works best when used on [[agents]]. Using "LEADER PLANNED" will trigger <tt>"PathCalculated"</tt> [[Arma_3:_Event_Handlers#PathCalculated | Event Handler]] | Works best when used on [[agents]]. Using "LEADER PLANNED" will trigger <tt>"PathCalculated"</tt> [[Arma_3:_Event_Handlers#PathCalculated | Event Handler]] | ||
| object '''setDestination''' [position, planningMode, forceReplan] | |s1= object '''setDestination''' [position, planningMode, forceReplan] | ||
|p1= object: [[Object]] | |p1= object: [[Object]] |
Revision as of 23:23, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Unit Control
Syntax
- Syntax:
- object setDestination [position, planningMode, forceReplan]
- Parameters:
- object: Object
- [position, planningMode, forceReplan]: Array
- position: Array - format Position
- planningMode: String
- forceReplan: Boolean Specifies if replanning of the path should be forced.
- Return Value:
- Nothing
Examples
- Example 1:
bob setDestination [screenToWorld [0.5,0.5], "LEADER PLANNED", true]
Additional Information
- See also:
- expectedDestinationdoMovecalculatePath
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
Categories:
- Stubs
- 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
- Scripting Commands: Global Effect
- Operation Flashpoint: Elite: Scripting Commands