setUnitPos: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
Lou Montana (talk | contribs) m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1") |
||
Line 44: | Line 44: | ||
<dd class="notedate">Posted on 18 September 2008 | <dd class="notedate">Posted on 18 September 2008 | ||
<dt class="note"> | <dt class="note">[[User:Dwarden|Dwarden]] | ||
<dd class="note"> | <dd class="note"> | ||
Command most likely only works if run before [[join]] into group after [[createUnit]]. | Command most likely only works if run before [[join]] into group after [[createUnit]]. | ||
<dd class="notedate">Posted on 11 March 2011 | <dd class="notedate">Posted on 11 March 2011 | ||
<dt class="note"> | <dt class="note">[[User:kju|kju]] | ||
<dd class="note"> | <dd class="note"> | ||
The above comment by [[User:Dwarden|Dwarden]] about 'an additional join required' is no longer true for Operation Arrowhead. | The above comment by [[User:Dwarden|Dwarden]] about 'an additional join required' is no longer true for Operation Arrowhead. | ||
<dd class="notedate">Posted on 26 September 2013 | <dd class="notedate">Posted on 26 September 2013 | ||
<dt class="note"> | <dt class="note">[[User:Katulobotomia|Katulobotomia]] | ||
<dd class="note"> | <dd class="note"> | ||
A unit might not always go prone when ordered to [[setUnitPos]] "DOWN", if the unit doesn't agree with the command. To force the unit to go prone, stop the unit from firing by [[setCombatMode]] "BLUE" and then order the unit to prone. | A unit might not always go prone when ordered to [[setUnitPos]] "DOWN", if the unit doesn't agree with the command. To force the unit to go prone, stop the unit from firing by [[setCombatMode]] "BLUE" and then order the unit to prone. |
Revision as of 15:24, 17 May 2020
Description
- Description:
- Set unit position rules. Mode may be one of:
- "DOWN" - unit goes prone and stays prone.
- "UP" - unit stands and stays standing.
- "MIDDLE" - Kneel Position. ArmA version 1.04 (Unit will not kneel if it is unarmed)
- "AUTO" - unit chooses mode according to circumstances.
player playAction "PlayerProne"; // DOWN player playAction "PlayerStand"; // UP player playAction "PlayerCrouch"; // MIDDLE
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_soldier setUnitPos "UP";
Additional Information
- See also:
- setUnitPosWeakunitPos
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 18 September 2008
- Dwarden
- Command most likely only works if run before join into group after createUnit.
- Posted on 11 March 2011
- kju
- The above comment by Dwarden about 'an additional join required' is no longer true for Operation Arrowhead.
- Posted on 26 September 2013
- Katulobotomia
- A unit might not always go prone when ordered to setUnitPos "DOWN", if the unit doesn't agree with the command. To force the unit to go prone, stop the unit from firing by setCombatMode "BLUE" and then order the unit to prone.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters