setDestination: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added parameters)
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set the destination for path planning of the pilot. |= Description
| Set the destination for path planning of the pilot.
 
Possible values for planningMode are:
 
"DoNotPlan",
 
"LeaderPlanned",
 
"LeaderDirect",
 
"FormationPlanned",
 
"VehiclePlanned" |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object#Unit|Unit]] '''setDestination''' [ [[Position]], planningMode, forceReplan] |= Syntax
| object '''setDestination''' [position, planningMode, forceReplan] |= Syntax
 
|p1= [[Position]]
|p2= planningMode: [[String]]


possible Values: "DoNotPlan", "LeaderPlanned", "LeaderDirect", "FormationPlanned", "VehiclePlanned"
|p1= object: [[Object]] |= Parameter 1
|p3= forceReplan: [[Boolean]]
|p2= [position, planningMode, forceReplan]: [[Array]] |= Parameter 2
|p3= position: [[Position]] |= Parameter 3
|p4= planningMode: [[String]] |= Parameter 4
|p5= forceReplan: [[Boolean]] Specifies if replanning of the path should be forced. |= Parameter 5


Specifies if replanning of the path should be forced.
| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 18:22, 25 January 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Set the destination for path planning of the pilot. Possible values for planningMode are: "DoNotPlan", "LeaderPlanned", "LeaderDirect", "FormationPlanned", "VehiclePlanned"
Groups:
Uncategorised

Syntax

Syntax:
object setDestination [position, planningMode, forceReplan]
Parameters:
object: Object
[position, planningMode, forceReplan]: Array
position: Position
planningMode: String
forceReplan: Boolean Specifies if replanning of the path should be forced.
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
expectedDestination

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

Bottom Section