GetNpcIdentityNames
Jump to navigation
Jump to search
getNpcIdentityNames
AVAILABLE FROM UPDATE 0.1.5
This function is available in G1R:MP 0.1.5 and later. The contract below includes the compatibility guarantees introduced in that update.
Lists named identity keys supported by the NPC API.
Syntax
getNpcIdentityNames()
Parameters
This function does not accept parameters.
Returns
A 1-based table containing default and 74 named identity keys in the current catalog.
Examples
local identities = getNpcIdentityNames()
Notes
- Server-side only. Mutations require the resource that owns this NPC; getters do not grant control.
- Available from update 0.1.5. See NPC scripting#NPC appearance since 0.1.5.
- The authoritative state is replayed for relevance entry/late join. Rendering is asynchronous; acceptance does not mean the mesh has finished rebuilding.
- Does not change authoritative HP, weapons, armor, routes or combat configuration. No automatic persistent database storage.
- Upper-initial alias GetNpcIdentityNames is also supported.
- Uses the same named catalog as getPlayerIdentityNames. No raw Unreal paths.