COMBAT

Change behavior

Changes how the entity moves or fights. Turns any entity into a threat, a protector or a wanderer — Aggressive mode launches a full combat encounter.

Use cases

Boss encounters, NPCs turning hostile, patrol-to-combat transitions, taming mechanics.

Parameters

Parameter Type Required Description
Behavior type No Static, Move, Protect or Aggressive.
Protected target No Player protects the owner; any other item protects the owner's matching world item.
Aggressive targets No Item types this entity may attack. The owner and the owner's items are always excluded.

→ In-game result

{
  "action": "ChangeBehavior",
  "behavior_type": "...",
  "protected_target": "...",
  "aggressive_targets": "..."
}
In-game result

The entity switches behavior instantly. Protect mode guards the selected owned target while ignoring the owner side.

Related actions

Used in tutorials