setUnitPos: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
m (Fixed formatting.) |
||
Line 35: | Line 35: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dt class="note">'''[[User:General Barron|General Barron]]''' 21 October 2009</dt> | |||
<dd class="note"> | |||
In Arma, this command does ''not'' change the stance of player units. In VBS2 after v1.30, this command ''does'' affect players (it changes their stance, but doesn't force them to stay in that stance). | In Arma, this command does ''not'' change the stance of player units. In VBS2 after v1.30, this command ''does'' affect players (it changes their stance, but doesn't force them to stay in that stance). | ||
</dd> | |||
<dt class="note">Anon</dt> | |||
<dd class="note"> | |||
Command most likely only works if run before [[join]] into group after [[createUnit array]]. | Command most likely only works if run before [[join]] into group after [[createUnit array]]. | ||
</dd> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 21:16, 11 March 2011
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.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unitName setUnitPos mode
- Parameters:
- unitName: Object
- mode: String As above
- Return Value:
- Nothing
Examples
- Example 1:
_loon1 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
- General Barron 21 October 2009
- In Arma, this command does not change the stance of player units. In VBS2 after v1.30, this command does affect players (it changes their stance, but doesn't force them to stay in that stance).
- Anon
- Command most likely only works if run before join into group after createUnit array.
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 OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands VBS2