GetWeaponAnimType

From the CreationKit Wiki
Revision as of 23:29, 15 June 2015 by imported>Grimy Bunyip (→‎See Also)
Jump to navigation Jump to search

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.