Default OnSpawn Variables

From Sinfar
Revision as of 18:15, 5 February 2025 by ItsABadger (talk | contribs) (Created page with "The following variables can be added to creatures that will trigger when it spawns. The creature will need the default OnSpawn script, <code>nw_c2_default9</code> for it to work. {| class="wikitable" |+ !Variable name !Variable type !Description/Explanation |- |<code>NW_GENERIC_MASTER</code> |Integer |[https://nwn.sinfar.net/nwn_spawncond.php Spawn Condition Flags] |- |<code>NW_ANIM_CONDITION</code> |Integer |[https://nwn.sinfar.net/nwn_animcond.php Animation Condition F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The following variables can be added to creatures that will trigger when it spawns. The creature will need the default OnSpawn script, nw_c2_default9 for it to work.

Variable name Variable type Description/Explanation
NW_GENERIC_MASTER Integer Spawn Condition Flags
NW_ANIM_CONDITION Integer Animation Condition Flags
X3_S_RANDOM_NAME String TBC
ARMOR_APPEARANCE String For armour appearances only
AI_VFX1 Integer Applies the relevant VFX. Can add additional by increasing the number. Must be a continuous line of increasing numbers.
ENTIRE_APPEARANCE String Old appearance codes for bodies only
ENTIRE_APPEARANCE2 String Full appearance code from tailor/body models that includes model + clothes (also helmet and weapons)
HEAD_V2 string Head string from body models if not using APPEARANCE2
XSCALE Float Size modifications of the entire model and associated elements
PHENOTYPE Integer Used for animations
ANIMATION Integer Used for animations
ANIMATION_SPEED Float Used for animations. Defaults to 1.0 if unset