Zum Hauptinhalt springen

Companion Follow Mode

Toggle companion follow or wait mode

Felder

FeldTypStandardBeschreibung
definitionRef<out EntityDefinitionEntry>——
minDistanceVar<Double>2.0—
maxDistanceVar<Double>4.0—
Gemeinsame TypeWriter-Felder (criteria, modifiers, triggers)
FeldTypStandardBeschreibung
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Each run flips the companion between following and waiting. It does not set an explicit state, so run it once to make the companion wait and again to resume.

  • With definition set, only the companion made from that definition is toggled.
  • With definition empty, all of the player's companions are toggled.
  • minDistance and maxDistance are written to the companion each time the action runs.
  • If the player has no companion for that definition, nothing happens.