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.
CautionState Properties
Section titled “CautionState Properties”| Property | Type | Since | Description |
|---|---|---|---|
enable | bool | v92 | Enable caution state behavior |
alertAngle | int | v92 | Detection cone angle in degrees |
alertRadius | int | v92 | Detection radius |
avoidSkill | string | v92 | Skill used for evasion |
checkInterval | int | v92 | Behavior check interval in milliseconds |
hpResetWhenCombatEnd | string | v92 | Reset HP when combat ends |
noMove | string | v92 | Disable movement |
probActiveMove | string | v92 | Probability of executing an active move |
probAvoid | string | v92 | Probability of avoidance |
rotateAngle | int | v92 | Alert rotation angle |
rotateTime | int | v92 | Alert rotation time in milliseconds |
ActiveMoves
Section titled “ActiveMoves”List of active movement IDs available during caution state.
| Property | Type | Since | Description |
|---|---|---|---|
id | string | v92 | Active move identifier |
DSL Example
Section titled “DSL Example”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"