Difference between revisions of "GetAnimAction"
Jump to navigation
Jump to search
imported>Kkuhlmann |
imported>Quetzilla m |
||
Line 41: | Line 41: | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category: Object Functions]] | [[Category: Object Functions]] | ||
[[Category:Animation Functions]] |
Revision as of 17:01, 12 December 2008
Description
GetAnimAction is a script function and condition to see what special animation action an actor is currently doing.
Syntax
[ActorREF.]GetAnimAction
Examples
if BuddyRef.GetAnimAction == 8
Determines if Buddy is performing reload animation.
Notes
- Return Values:
- -1 - none
- 0 - ANIM_ACTION_EQUIP_WEAPON
- 1 - ANIM_ACTION_UNEQUIP_WEAPON
- 2 - ANIM_ACTION_ATTACK
- 3 - ANIM_ACTION_ATTACK_FOLLOW_THROUGH
- 4 - ANIM_ACTION_ATTACK_THROW
- 5 - ANIM_ACTION_ATTACK_THROW_ATTACH
- 6 - ANIM_ACTION_BLOCK
- 7 - ANIM_ACTION_RECOIL
- 8 - ANIM_ACTION_RELOAD
- 9 - ANIM_ACTION_STAGGER
- 10 - ANIM_ACTION_DODGE
- 11 - ANIM_ACTION_WAIT_FOR_LOWER_BODY_ANIM
- 12 - ANIM_ACTION_WAIT_FOR_SPECIAL_IDLE
- 13 - ANIM_ACTION_FORCE_SCRIPT_ANIM
See Also
Reference
None provided.