setDestination: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 32: Line 32:
|p5= forceReplan: [[Boolean]] Specifies if replanning of the path should be forced.
|p5= forceReplan: [[Boolean]] Specifies if replanning of the path should be forced.


| [[Nothing]]
|r1= [[Nothing]]


|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>

Revision as of 10:18, 10 June 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:
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