Interface IEntityAiEvents
Methods
Optional changeAi
- changeAi(aiType: AiType, changeAiType: ChangeAiType): any
-
Returns any
Optional changeAiMask
- changeAiMask(maskType: AiMaskType, changeAiType: ChangeAiType): any
-
Returns any
Optional changeWanderIntent
- changeWanderIntent(intent?: number, directionToZoneCenter?: number): any
-
Parameters
-
Optional intent: number
-
Optional directionToZoneCenter: number
Returns any
hasAi
- hasAi(aiType: AiType): undefined | boolean
-
Returns undefined | boolean
Called when the creature's AI is changed.