GetStaticForm
From GECK
A function added by the pp NVSE Plugin.
Contents
Description
Similar to GetBaseObject, except it returns the static baseform.
Syntax
(baseForm) GetStaticForm baseForm:ref
Example
ref r9mmInstance = CreateFormInstance WeapNV9mmPistol "MyInstanceKey" ref rBaseForm = GetStaticForm r9mmInstance
This will return WeapNV9mmPistol
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.