GetSpawnInCondition
From NWN Lexicon
Jump to navigationJump to searchGetSpawnInCondition(int)
Determines whether a creature has a certain condition set by BioWare's core AI system.
Parameters
nCondition
Description
Returns TRUE if nCondition is set on the creature that called this function (OBJECT_SELF) and otherwise returns FALSE.
Remarks
The spawn conditions are behaviors that can be set in the OnSpawn script of a creature that drive BioWare's core AI scripts to make the creature do certain things. It is advisable to uncomment the SetSpawnInConditon() lines in the default OnSpawn script and save it under a different name.
For an explanation of what NW_FLAG_* do, see the description for the individual constants.
Requirements
#include " x0_i0_spawncond "
Version
1.22
See Also
functions: | |
constants: | |
events: |
author: Charles Feduke, editor: Tom Cassiotis, Mistress