playMove: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (removed playgesture from see also) |
Killzone Kid (talk | contribs) (description comparison) |
||
Line 12: | Line 12: | ||
| When used on person, smooth transition to given move will be done. | | When used on person, smooth transition to given move will be done. | ||
<br />[[:ArmA2:_Moves|List of moves in ArmA 2]]<br />[[:Armed_Assault:_Moves_List|List of moves in Armed Assault]]<br />[[:Operation_Flashpoint:_Moves_List|List of moves in Operation Flashpoint: Resistance]] | |||
[[:ArmA2:_Moves|List of moves in ArmA 2]]<br />[[:Armed_Assault:_Moves_List|List of moves in Armed Assault]]<br />[[:Operation_Flashpoint:_Moves_List|List of moves in Operation Flashpoint: Resistance]] |= Description | <br><br> | ||
The difference between [[playMove]] and [[playMoveNow]] is that [[playMove]] adds another move to the move queue, while [[playMoveNow]] replaces the whole move queue with new move: | |||
<code>[[player]] [[switchMove]] "amovpercmstpsraswrfldnon"; | |||
[] [[spawn]] | |||
{ | |||
[[sleep]] 0.5; | |||
[[player]] [[playMove]] "amovppnemstpsraswrfldnon"; // player goes prone | |||
[[player]] [[playMove]] "amovpknlmstpsraswrfldnon"; // player gets up on one knee | |||
};</code> | |||
Compared to: | |||
<code>[[player]] [[switchMove]] "amovpercmstpsraswrfldnon"; | |||
[] [[spawn]] | |||
{ | |||
[[sleep]] 0.5; | |||
[[player]] [[playMove]] "amovppnemstpsraswrfldnon"; // player never goes prone | |||
[[player]] [[playMoveNow]] "amovpknlmstpsraswrfldnon"; // player goes down on one knee straight away | |||
};</code> |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 18:37, 25 June 2017
Description
- Description:
- When used on person, smooth transition to given move will be done.
List of moves in ArmA 2
List of moves in Armed Assault
List of moves in Operation Flashpoint: Resistance
The difference between playMove and playMoveNow is that playMove adds another move to the move queue, while playMoveNow replaces the whole move queue with new move:player switchMove "amovpercmstpsraswrfldnon"; [] spawn { sleep 0.5; player playMove "amovppnemstpsraswrfldnon"; // player goes prone player playMove "amovpknlmstpsraswrfldnon"; // player gets up on one knee };
Compared to:player switchMove "amovpercmstpsraswrfldnon"; [] spawn { sleep 0.5; player playMove "amovppnemstpsraswrfldnon"; // player never goes prone player playMoveNow "amovpknlmstpsraswrfldnon"; // player goes down on one knee straight away };
- Groups:
- Uncategorised
Syntax
- Syntax:
- unitName playMove moveName
- Parameters:
- unitName: Object
- moveName: String
- Return Value:
- Nothing
Examples
- Example 1:
soldierOne playMove "Stand"
Additional Information
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
- Unknown
- For an immediate transition use switchMove. This command must be executed after mission start. If you place it into init.sqs / init.sqf or in the Init field of some unit, it will not work. Just add a little delay (~0.001) and then place the command.
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 ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters