Difference between revisions of "GetIsFormType"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett-Bot
m (Script running global find and replace: = for '''=)
 
imported>K1rlian
Line 12: Line 12:


==Notes==
==Notes==
* pFormType is the 4 character form type string (ACTI, CONT, NPC_, etc.) which is displayed in the Form Type column in the [[Object Window]]. Column highlighted in picture below:
* pFormType is the 4 character form type string (ACTI, CONT, NPC_, etc.) which is displayed in the Form Type column in the [[Object Window]]. Form Type column appears when *All is selected in the left pane. Column highlighted in picture below:
<br>[[image:jb_FormType01a.jpg]]
<br>[[image:jb_FormType01a.jpg]]



Revision as of 15:31, 30 May 2016

Description

GetIsFormType returns 1 if the object is the specified form type.

Syntax

GetIsFormType pFormType

Examples

GetIsFormType ACTI    ; returns 1 if the object is an Activator

Notes

  • pFormType is the 4 character form type string (ACTI, CONT, NPC_, etc.) which is displayed in the Form Type column in the Object Window. Form Type column appears when *All is selected in the left pane. Column highlighted in picture below:


Jb FormType01a.jpg

See Also