playMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|PLAYMOVE]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|PLAYMOVE]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|PLAYMOVE]]
[[Category:Scripting Commands ArmA|PLAYMOVE]]


| ofp |= Game name


<h2 style="color:#000066">'''''soldier'' playMove ''moveName'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| When used on person, smooth transition to given move will be done. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| soldier '''playMove''' moveName |= Syntax


'''soldier:''' [[Object]]
|p1= soldier: [[Object]] |= Parameter 1


'''moveName:''' [[String]]
|p2= moveName: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>soldierOne playMove "Stand"
Comments For an immediate transition use [[switchMove]]. This command must be executed after mission start. If you place it into init.sqs or in the Init field of some unit, it will not work. Just add a little delay (~0.001) and then place the command.</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


When used on person, smooth transition to given move will be done.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|PLAYMOVE]]
soldierOne '''playMove''' "Stand"
[[Category:Scripting Commands OFP 1.96|PLAYMOVE]]
 
[[Category:Scripting Commands OFP 1.46|PLAYMOVE]]
 
[[Category:Scripting Commands ArmA|PLAYMOVE]]
'''Comments'''
 
For an immediate transition use [[switchMove]].
 
This command must be executed after mission start.
 
If you place it into init.sqs or in the Init field of some unit, it will not work.
 
Just add a little delay (~0.001) and then place the command.

Revision as of 00:59, 2 August 2006

Hover & click on the images for description

Description

Description:
When used on person, smooth transition to given move will be done.
Groups:
Uncategorised

Syntax

Syntax:
soldier playMove moveName
Parameters:
soldier: Object
moveName: String
Return Value:
Nothing

Examples

Example 1:
soldierOne playMove "Stand" 
Comments For an immediate transition use [[switchMove]]. This command must be executed after mission start. If you place it into init.sqs or in the Init field of some unit, it will not work. Just add a little delay (~0.001) and then place the command.

Additional Information

See also:
See also needed

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

Bottom Section