X3 inc skin

From NWN Lexicon
Jump to: navigation, search


x3_inc_skin

This file contains several functions for handling player skins and variables stored on them.

Utilized extensively by the v1.69 horse system scripts.

NOTE: This file includes x3_inc_string .

Functions

Name Brief Description

DeleteSkinFloat

Removes a persistent floating point variable from a creature's skin item.

DeleteSkinInt

Removes a persistent integer variable from a creature's skin item.

DeleteSkinString

Removes a persistent string variable from a creature's skin item.

GetSkinFloat

Retrieves a persistent floating point variable from a creature's skin item.

GetSkinInt

Retrieves a persistent integer variable from a creature's skin item.

GetSkinString

Retrieves a persistent string variable from a creature's skin item.

SetSkinFloat

Stores a persistent floating point variable on a creature's skin item.

SetSkinInt

Stores a persistent integer variable on a creature's skin item.

SetSkinString

Stores a persistent string variable on a creature's skin item.

SKIN_SupportEquipSkin

Internal function. Forces a creature to equip a skin item in its creature armor inventory slot.

SKIN_SupportGetSkin

Internal function. Retrieves a creature's skin item or creates a new one and forces an equip if the creature does not already have one.



author: Axe Murderer, editor: Mistress