IsFormInstance
From GECK
A function added by the pp NVSE Plugin.
Contents
Description
Returns true if the reference or baseform is derived from a form instance.
Syntax
(bool) IsFormInstance object:ref
Example
ref r9mmInstance = CreateFormInstance WeapNV9mmPistol "MyInstanceKey" if IsFormInstance r9mmInstance ;This will return true. endif
Notes
- You can not create instances of instances. Only instances of existing baseforms.
- You can have multiple instances pointing to the same parent.
- It's advised to use GetWeaponBase for comparing weapons rather that GetBaseObject.