Difference between revisions of "GetWeaponType"
Jump to navigation
Jump to search
imported>JOG |
imported>Pintocat |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
==Notes:== | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
|- | |||
! style="background:#efefef;" colspan=1 | Index | |||
! style="background:#efefef;" | Weapon Type | |||
|- | |||
|0 | |||
|HandToHandMelee | |||
|- | |||
|1 | |||
|OneHandMelee | |||
|- | |||
|2 | |||
|TwoHandMelee | |||
|- | |||
|3 | |||
|OneHandPistol | |||
|- | |||
|4 | |||
|OneHandPistolEnergy | |||
|- | |||
|5 | |||
|TwoHandRifle | |||
|- | |||
|6 | |||
|TwoHandAutomatic | |||
|- | |||
|7 | |||
|TwoHandRifleEnergy | |||
|- | |||
|8 | |||
|TwoHandHandle | |||
|- | |||
|9 | |||
|TwoHandLauncher | |||
|- | |||
|10 | |||
|OneHandGrenade | |||
|- | |||
|11 | |||
|OneHandMine | |||
|- | |||
|12 | |||
|OneHandLunchboxMine | |||
|- | |||
|13 | |||
|OneHandThrown (NV only; Spears) | |||
|} | |||
==See Also== | |||
[[GetWeaponAnimType]] | |||
[[Category:Functions_(FOSE)]] | [[Category:Functions_(FOSE)]] | ||
Latest revision as of 00:33, 10 January 2017
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Returns the weapon type
Syntax
(int) ref.GetWeaponType item:ref
Or:
(int) ref.GetWeapType item:ref
Notes:
Index | Weapon Type |
---|---|
0 | HandToHandMelee |
1 | OneHandMelee |
2 | TwoHandMelee |
3 | OneHandPistol |
4 | OneHandPistolEnergy |
5 | TwoHandRifle |
6 | TwoHandAutomatic |
7 | TwoHandRifleEnergy |
8 | TwoHandHandle |
9 | TwoHandLauncher |
10 | OneHandGrenade |
11 | OneHandMine |
12 | OneHandLunchboxMine |
13 | OneHandThrown (NV only; Spears) |