GetFormID - Form

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Form Script

Returns this form's form ID.

Syntax[edit | edit source]

int Function GetFormID() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The form ID of this form.

Examples[edit | edit source]

; Obtains the form id of the main quest
int formID = mainQuest.GetFormID()

See Also[edit | edit source]