Mod:Creation Kit/Fire - Weapon

Member of: Mod:Creation Kit/Weapon Script

Fires the weapon from the the specified object reference, using the specified ammo.

Syntax
Function Fire(ObjectReference akSource, Ammo akAmmo = None) native

Parameters

 * akSource: The ObjectReference to fire the weapon from.
 * akAmmo: The Ammo to use. If None is passed, it will use the current ammo on the reference (this will throw a warning if the reference is not an actor).

Return Value
None.

Examples
Bow.Fire(Bandit) Bow.Fire(Box, PoisonArrows)
 * Have the bandit fire his bow with his current ammo
 * Have the box fire the bow with the poison arrows ammo