Background for Fallout 4
Member of the Game script
FormfunctionGetForm(intaiFormID)NativeGlobal

Description

Wiki Description

Obtains the form specified by its form ID number.

Documentation Comment

Returns the form specified by the ID


Caveats


Parameters

intaiFormID

CK Wiki Description

The form ID number of the form we want. (FormID proceeded by 0x) For example Form ID "0001DA07" is given as:0x0001DA07


Examples

; Obtain whatever form 0001DA07 is
Form someForm = Game.GetForm(0x0001DA07)

Auto-Generated Example

int myInt__aiFormID

Form returnedValue = Game.GetForm(myInt__aiFormID)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.