SetSpawnInCondition
From NWN Lexicon
Contents |
[edit] SetSpawnInCondition(int, int)
Sets custom flags that influence the default AI scripts provided by BioWare.
void SetSpawnInCondition( int nCondition, int bValid = TRUE );
[edit] Parameters
nCondition
bValid
Turns the specified condition to TRUE or FALSE (on/off). (Default: TRUE)
[edit] Description
Sets the spawn flag (NW_FLAG_*) specified by nCondition to bValid.
See NW_FLAG_* for a detailed listing of the flags and their affect on the creature's AI.
[edit] Remarks
This uses bit arithmatic and is stored as a local integer to the creature calling this function (OBJECT_SELF).
[edit] Requirements
#include " x0_i0_spawncond "
[edit] Version
1.22
[edit] See Also
functions: | |
constants: |
author: Charles Feduke, editor: Tom Cassiotis, Mistress