Access
All entry C++ functions are exposed to your Lua script via a single global table namedentry
. You access individual values by using the dot (.
) or bracket ([]
) operator on this table.
Entry Usage Example
Functions
This section lists all available C++ functions exposed within the globalentry
table. These functions are used for retrieving, managing, and validating references to game entries and other in game instances.
valid
Checks if the provided Entry object is currently valid and active (not in a removal state). The EntryObject instance (shared pointer) to be validated.
If
true
, the function performs an additional check to ensure the entry has a valid ModelObject. Defaults to false
.list
Retrieves a Lua table containing the currently active list of Entry objects. The list can be filtered based on the optional exclusion flags.A flag from the EntryExclude enumeration specifying which types of entries should be filtered out. Defaults to
EntryExclude.None
(no filtering).get
Retrieves a specific EntryObject instance based on its player object address.The player object number address of the EntryObject to retrieve.
get_root
Retrieves the root PartObject associated with a given entrie’s player object address.The player object number address of the entry whose root object is requested.