EVENT_* Constant Group
User-defined event codes.
These are not actually used by the game engine and are essentially made up numbers. They were included in later versions of nwscript.nss presumably as shortcuts for Bioware to remember what their own creature AI SignalEvent should fire for each one. Note there is no version for On Spawn, On Rested, On Blocked or On Death (although user defined On Death events can sometimes be weird).
Constants
Constant
|
Value
|
Description
|
EVENT_ATTACKED
|
1005
|
OnPhysicalAttacked event.
|
|
EVENT_DAMAGED
|
1006
|
|
EVENT_DIALOGUE
|
1004
|
|
EVENT_DISTURBED
|
1008
|
|
EVENT_END_COMBAT_ROUND
|
1003
|
|
EVENT_HEARTBEAT
|
1001
|
|
EVENT_PERCEIVE
|
1002
|
|
EVENT_SPELL_CAST_AT
|
1011
|
|
See Also