Difference between revisions of "Category:UUID Functions"

From NWN Lexicon
Jump to: navigation, search
(Initial page creation)
 
m (Added NWNEE Category)
 
Line 1: Line 1:
Patch [https://steamcommunity.com/games/704450/announcements/detail/1601511973011879979 1.74.8188] added functionality that allows attaching [https://en.wikipedia.org/wiki/Universally_unique_identifier 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.
+
{{NWNEE}}Patch [https://steamcommunity.com/games/704450/announcements/detail/1601511973011879979 1.74.8188] added functionality that allows attaching [https://en.wikipedia.org/wiki/Universally_unique_identifier 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).
 
Re-identification is only guaranteed in scenarios where players cannot introduce new objects (i.e. servervault servers).

Latest revision as of 07:43, 10 October 2019

Warning icon orange.png Caution: This article documents NWN: Enhanced Edition content, not native BioWare scripts. It may not apply unless you're using NWN: Enhanced Edition.
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.