expectedDestination: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replace - "</dt>" to "")
m (Text replace - "</dd>" to "")
Line 26: Line 26:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 16:24, 3 March 2007 (CET)</dd> <dt class="note>'''[[User:Donnervogel|Donnervogel]]'''<dd class="note">For AI units I have found the following values: ''planningMode'' is "LEADER PLANNED" when the unit is ordered by the group leader to go somewhere or if the unit is the group leader and it follows a waypoint. Otherwise ''planningMode'' it is "DoNotPlan". Units moving in formation have "DoNotPlan" as long as they don't receive orders by the group leader. Units also have "DoNotPlan" when they don't move. Units executing special formation tasks like engaging or return to formation have "FORMATION PLANNED" as long they haven't fulfilled the task.</dd>
<dd class="notedate">Posted on 16:24, 3 March 2007 (CET) <dt class="note>'''[[User:Donnervogel|Donnervogel]]'''<dd class="note">For AI units I have found the following values: ''planningMode'' is "LEADER PLANNED" when the unit is ordered by the group leader to go somewhere or if the unit is the group leader and it follows a waypoint. Otherwise ''planningMode'' it is "DoNotPlan". Units moving in formation have "DoNotPlan" as long as they don't receive orders by the group leader. Units also have "DoNotPlan" when they don't move. Units executing special formation tasks like engaging or return to formation have "FORMATION PLANNED" as long they haven't fulfilled the task.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 13:33, 21 October 2011

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

Description

Description:
Return expected destination of unit as an array with format: [ Position, planningMode, forceReplan].
Groups:
Uncategorised

Syntax

Syntax:
Array = expectedDestination person
Parameters:
person: Object
Return Value:
Array

Examples

Examples:
Example needed

Additional Information

See also:
setDestination

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 16:24, 3 March 2007 (CET)
Donnervogel
For AI units I have found the following values: planningMode is "LEADER PLANNED" when the unit is ordered by the group leader to go somewhere or if the unit is the group leader and it follows a waypoint. Otherwise planningMode it is "DoNotPlan". Units moving in formation have "DoNotPlan" as long as they don't receive orders by the group leader. Units also have "DoNotPlan" when they don't move. Units executing special formation tasks like engaging or return to formation have "FORMATION PLANNED" as long they haven't fulfilled the task.

Bottom Section