GetObjectType
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Returns the type code of the specified base form, or calling reference.
Syntax
(TypeCode:int) ref.GetObjectType item:form
Or:
(TypeCode:int) ref.GetType item:form
Example
ref Something if (GetType Something) == 41 ; ammo ; do something appropriate for ammo endif