FireWeaponEx
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Makes the Actor calling reference fire a specified Weapon BaseForm's projectile(s) (equivalent to one regular shot, but some weapons like shotguns fire multiple pellets per shot).
Unlike FireWeapon, this has an optional argument to specify the Node that the shot should be spawned from.
Syntax
actorRefr.FireWeaponEx Weapon:BaseForm Node:string
Example
let rWeapon := player.GetEquippedWeapon player.FireWeapon rWeapon "ProjectileNode2"