playMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#P|COMREF]]
<h2 style="color:#000066">''solider '''''playMove ''moveName'''''</h2>
<h2 style="color:#000066">''solider '''''playMove ''moveName'''''</h2>


'''Operand types:'''
'''Operand types:'''


soldier: [[Object]]
'''soldier:''' [[Object]]


moveName: [[String]]
'''moveName:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''


Nothing
[[Nothing]]


'''Description:'''
'''Description:'''


When used on person, smooth transition to given move will be done.
When used on person, smooth transition to given move will be done.


'''Example:'''
'''Example:'''
Line 21: Line 25:


'''Comments'''
'''Comments'''
''Macguba''


For an immediate transition use [[switchMove]].
For an immediate transition use [[switchMove]].
Animation list here.

Revision as of 02:14, 16 April 2006

back to COMREF

solider playMove moveName


Operand types:

soldier: Object

moveName: String

Type of returned value:

Nothing

Description:

When used on person, smooth transition to given move will be done.


Example:

soldierOne playMove "Stand"


Comments

For an immediate transition use switchMove.