expectedDestination: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|arg= local |= " to "|arg= local |MPARGUMENTS= ") |
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
||
Line 43: | Line 43: | ||
[[Category:Scripting Commands ArmA|EXPECTEDDESTINATION]] | [[Category:Scripting Commands ArmA|EXPECTEDDESTINATION]] | ||
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 00:58, 10 January 2020
Description
- Description:
- Return expected destination of unit as an array.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Array = expectedDestination person
- Parameters:
- person: Object
- Return Value:
- Array in form:
- 0: Position
- 1: planningMode
- 2: forceReplan
Examples
- Example 1:
_data = expectedDestination player;
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.