Difference between revisions of "GetForm - Game"

Jump to navigation Jump to search
67 bytes added ,  00:07, 14 May 2016
imported>DavidJCobb
imported>DavidJCobb
Line 26: Line 26:
* Scripts should always be blind to the contents of data files, and rely on [[Variables and Properties|properties]] as the interface through which they access data from data files. As such, this function should only ever be used for debugging purposes.
* Scripts should always be blind to the contents of data files, and rely on [[Variables and Properties|properties]] as the interface through which they access data from data files. As such, this function should only ever be used for debugging purposes.
* As the FormID is intended to be a 32-bit unsigned integer and Papyrus uses signed integers, this function is not reliable for forms from higher-ordered mods. Specifically, any FormID with the MSB set (load order 0x80 and above) will fail to return a valid object.
* As the FormID is intended to be a 32-bit unsigned integer and Papyrus uses signed integers, this function is not reliable for forms from higher-ordered mods. Specifically, any FormID with the MSB set (load order 0x80 and above) will fail to return a valid object.
* This function cannot retrieve an ObjectReference by form ID if that reference is not loaded.
* This function cannot retrieve a temporary ObjectReference (one created at run-time, whose form ID starts with 0xFF) by form ID if that reference is not loaded.


== See Also ==
== See Also ==
Anonymous user

Navigation menu