Difference between revisions of "GetWeaponAnimType"
Jump to navigation
Jump to search
imported>Scornett-Bot m (Script running global find and replace: = for '''=) |
imported>Grimy Bunyip |
||
Line 25: | Line 25: | ||
==See Also== | ==See Also== | ||
This function does NOT work for daggers. | |||
==Reference== | ==Reference== |
Revision as of 23:29, 15 June 2015
Description
GetWeaponAnimType Returns actor's current weapon animation type. See notes for return values.
Syntax
[ActorREF.]GetWeaponAnimType
Examples
if BuddyRef.GetWeaponAnimType == 4
Notes
Return values:
- 0 - WEAPON_HAND_TO_HAND,
- 1 - WEAPON_ONE_HAND_SWORD,
- 2 - WEAPON_ONE_HAND_DAGGER,
- 3 - WEAPON_ONE_HAND_AXE,
- 4 - WEAPON_ONE_HAND_MACE,
- 5 - WEAPON_TWO_HAND_SWORD,
- 6 - WEAPON_TWO_HAND_AXE (includes warhammer)
- 7 - WEAPON_BOW,
- 8 - WEAPON_STAFF
See Also
This function does NOT work for daggers.
Reference
None provided.