setDestination: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 36: Line 36:
|x1= <code>bob [[setDestination]] [<nowiki/>[[screenToWorld]] [0.5,0.5], "LEADER PLANNED", [[true]]]</code>
|x1= <code>bob [[setDestination]] [<nowiki/>[[screenToWorld]] [0.5,0.5], "LEADER PLANNED", [[true]]]</code>


| [[expectedDestination]], [[doMove]], [[calculatePath]]
|seealso= [[expectedDestination]], [[doMove]], [[calculatePath]]
}}
}}



Revision as of 00:03, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Control

Syntax

Syntax:
Syntax needed
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:
Return value needed

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