Difference between revisions of "GetWeaponAnimType"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett-Bot
m (Script running global find and replace: = for '''=)
 
m (→‎Notes: adding the weapon numerical code for Crossbows)
 
(3 intermediate revisions by one other user not shown)
Line 7: Line 7:


==Examples==
==Examples==
if BuddyRef.GetWeaponAnimType == 4


==Notes==
==Notes==
Line 21: Line 19:
*6 -  WEAPON_TWO_HAND_AXE (includes warhammer)
*6 -  WEAPON_TWO_HAND_AXE (includes warhammer)
*7 -  WEAPON_BOW,
*7 -  WEAPON_BOW,
*8 -  WEAPON_STAFF
*8 -  WEAPON_STAFF,
*12 -  WEAPON_CROSSBOW


==See Also==
==See Also==


==Reference==
==Reference==

Latest revision as of 12:54, 30 July 2024

Description[edit | edit source]

GetWeaponAnimType Returns actor's current weapon animation type. See notes for return values.

Syntax[edit | edit source]

[ActorREF.]GetWeaponAnimType

Examples[edit | edit source]

Notes[edit | edit source]

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,
  • 12 - WEAPON_CROSSBOW

See Also[edit | edit source]

Reference[edit | edit source]

None provided.