Difference between revisions of "Category:UUID Functions"

From NWN Lexicon
Jump to: navigation, search
(Initial page creation)
(No difference)

Revision as of 07:37, 10 October 2019

Patch 1.74.8188 added functionality that allows attaching UUIDs to objects. These UUIDs are persisted to GFF and can be used by authors to identify items across module restarts, among other use cases.

Re-identification is only guaranteed in scenarios where players cannot introduce new objects (i.e. servervault servers).

UUIDs are guaranteed to be unique in any single running game.

If a loaded object would collide with a UUID already present in the game, the object receives no UUID and a warning is emitted to the log. Requesting a UUID for the new object will generate a random one.

This UUID is useful to, for example: - Safely identify servervault characters - Track serialisable objects (like items or creatures) as they are saved to the campaign DB - i.e. persistent storage chests or dropped items. - Track objects across multiple game instances (in trusted scenarios).

Currently, the following objects can carry UUIDs: Items, Creatures, Placeables, Triggers, Doors, Waypoints, Stores, Encounters, Areas.

Pages in category "UUID Functions"

The following 4 pages are in this category, out of 4 total.