GetWeaponAnimType
Jump to navigation
Jump to search
Description[edit | edit source]
GetWeaponAnimType Returns a number corresponding to the actor's current weapon animation type. See notes for return values.
Syntax[edit | edit source]
[ActorREF.]GetWeaponAnimType
Examples[edit | edit source]
if BuddyRef.GetWeaponAnimType == 4
Return Values and Animation Types[edit | edit source]
Internally, weapons in Fallout 3 and Fallout: New Vegas have a total of 13 or 14 different possible animation types, respectively. However, GetnWeaponAnimType can only discern 11 different animation types, with one catch-all for unrecognized values. Certain animation types are combined into one return value, as described below:
Index | Animation Type Name | Weapon Anims 1 | Weapon Anims 2 |
---|---|---|---|
0 | AGW_NONE | unset or unrecognized Animation Types | |
1 | AGW_HAND_TO_HAND | HandToHandMelee | |
2 | AGW_ONE_HAND_MELEE | OneHandMelee | |
3 | AGW_TWO_HAND_MELEE | TwoHandMelee | |
4 | AGW_ONE_HAND_PISTOL | OneHandPistol | OneHandPistolEnergy |
5 | AGW_TWO_HAND_RIFLE | TwoHandRifle | TwoHandRifleEnergy |
6 | AGW_TWO_HAND_AUTOMATIC | TwoHandAutomatic | |
7 | AGW_TWO_HAND_HANDLE | TwoHandHandle | |
8 | AGW_TWO_HAND_LAUNCHER | TwoHandLauncher | |
9 | AGW_ONE_HAND_GRENADE | OneHandGrenade | OneHandThrown |
10 | AGW_ONE_HAND_MINE | OneHandMine | |
11 | AGW_ONE_HAND_LUNCHBOX_MINE | OneHandLunchboxMine |
Notes[edit | edit source]
- Function was created for the VATS camera conditions
See Also[edit | edit source]
- GetWeaponType (FOSE)