SetWeaponAmmo

From GECK
(Redirected from SetAmmo)
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

Sets the Ammo (or FormList of Ammo) for the target Weapon BaseForm. If weapon is omitted and a calling reference is provided, that reference's BaseForm is used.

Syntax

[help]
weaponRefr.SetWeaponAmmo newAmmo:baseform weapon:baseform 

Or:

weaponRefr.SetAmmo newAmmo:baseform weapon:baseform 

See Also