GetWeaponCanUseAmmo

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender version 6.3.1.

Description

Returns 1 if the weapon BaseForm can use the specified ammo baseform, 0 otherwise. If a weaponReference is passed instead of a baseForm, its baseform is used instead.

This function can be used either in a script, or as a Condition.

Syntax

[help]
(0/1) weaponReference.GetWeaponCanUseAmmo weapon:baseForm 

See Also