GetWeaponAnimType

From the CreationKit Wiki
Revision as of 17:10, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Reference

None provided.