GetRawFormIDString

From GECK

A function added by the New Vegas Script Extender.

Description

Returns the FormID number as a string in hexadecimal for the specified reference variable or array element, regardless of whether or not it is a valid FormID.

Syntax

(string) GetRawFormIDString ToGet:Multi

Example

string_var formid
let formid := GetFormIDString MyArray[0]

Notes

  • You can use this to convert a form for use as an array map key. However, beware that FormIDs may change on game load, dependent on load order.

See Also

Personal tools