IsWeaponInstance
From GECK
A function added by the pp NVSE Plugin.
Contents
Description
Checks if a weapon is a Weapon Instance. Returns 1 if it's an instance of a baseform, returns 0 if it's the real baseform.
Syntax
(bool) IsWeaponInstance Weapon:ref
Example
let rWeap := Player.GetEquippedWeaponRef if IsWeaponInstance rWeap ;Apply modifiers. endif
let rWeap := Player.GetEquippedWeaponRef if IsWeapInst rWeap ;Apply modifiers. endif