Description
Wiki Description
Fires the weapon from the the specified object reference, using the specified ammo.
Documentation Comment
Fire this weapon base object from the specified source
Caveats
CK Wiki - Notes
- If akSource is not equipped with any ammo, and akAmmo is none, nothing happens.
- If akSource is not equipped with any ammo, and akAmmo is not none, then akSource will fire akAmmo, without depleting any ammo reserves (infinite ammo).
- If akSource is equipped with ammo, and akAmmo is a different ammo, then akSource will fire akAmmo, while depleting the current supply of equipped ammo.
- If akSource is not equipped with a weapon normally capable of firing, then the weapon's model becomes invisible (model is unloaded) until it is unequipped.
- Weapons will be fired in the same direction of the object, or actors current heading(the direction they are facing)
- Targeting requires rotation of the firing object to match the direction of the purposed target prior to firing.
Parameters
Examples
; Have the bandit fire his bow with his current ammo
Bow.Fire(Bandit); Have the box fire the bow with the poison arrows ammo
Bow.Fire(Box, PoisonArrows)Auto-Generated Example
ObjectReference myObjectReference__akSource
Ammo myAmmo__akAmmo
myWeapon__toCallFunctionOn.Fire(myObjectReference__akSource, myAmmo__akAmmo)