Skip to content

AIData: CautionState

Part of AIData. Defines behavior when the NPC detects a potential threat but has not yet entered combat — alert scanning, avoidance, and active movement patterns.


PropertyTypeSinceDescription
enableboolv92Enable caution state behavior
alertAngleintv92Detection cone angle in degrees
alertRadiusintv92Detection radius
avoidSkillstringv92Skill used for evasion
checkIntervalintv92Behavior check interval in milliseconds
hpResetWhenCombatEndstringv92Reset HP when combat ends
noMovestringv92Disable movement
probActiveMovestringv92Probability of executing an active move
probAvoidstringv92Probability of avoidance
rotateAngleintv92Alert rotation angle
rotateTimeintv92Alert rotation time in milliseconds

List of active movement IDs available during caution state.

PropertyTypeSinceDescription
idstringv92Active move identifier

ai:
create:
- huntingZoneId: 9001
id: 101
name: "cautious_guard"
cautionState:
enable: true
checkInterval: 2000
alertAngle: 120
alertRadius: 500
probActiveMove: "0.4"
probAvoid: "0.3"
rotateAngle: 60
rotateTime: 1500
activeMoves:
- id: "3001"
- id: "3002"