IAISystem.h
AI Stimulus record. Stimuli are used to tell the perception manager about important events happening in the gameworld such as sounds or grenades. When the stimulus is processed, it can be merged with previous stimuli in order to prevent too many stimuli to cause too many reactions.
Vec3 dir;
Optional direction of the stimulus - for now, should be pre-normalised
unsigned char flags;
Processing flags
Vec3 pos;
Location of the stimulus
float radius;
Radius of the stimulus
EntityId sourceId;
The source of the stimulus
unsigned char subType;
Stimulation sub-type
EntityId targetId;
Optional target of the stimulus
unsigned char type;
Stimulation type
SAIStimulus();