GetWeaponAnimType

From the Fallout3 GECK Wiki
Revision as of 16:13, 24 September 2013 by imported>Yukichigai
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

Return Values

  • 0 = AGW_NONE
  • 1 = AGW_HAND_TO_HAND
  • 2 = AGW_ONE_HAND_MELEE
  • 3 = AGW_TWO_HAND_MELEE
  • 4 = AGW_ONE_HAND_PISTOL
  • 5 = AGW_TWO_HAND_RIFLE
  • 6 = AGW_TWO_HAND_AUTOMATIC
  • 7 = AGW_TWO_HAND_HANDLE
  • 8 = AGW_TWO_HAND_LAUNCHER
  • 9 = AGW_ONE_HAND_GRENADE
  • 10 = AGW_ONE_HAND_MINE
  • 11 = AGW_ONE_HAND_LUNCHBOX_MINE

Notes

  • Function was created for the VATS camera conditions
  • AGW_ONE_HAND_GRENADE is also used for thrown, non-grenade weapons in Fallout: New Vegas.