Saltar al contenido principal

Companion Invocation

Spawn and manage the player's companion

Campos

CampoTipoPredeterminadoDescripción
definitionRef<out EntityDefinitionEntry>——
activityRef<out IndividualEntityActivityEntry>——
minDistanceVar<Double>2.0—
maxDistanceVar<Double>4.0—
Campos comunes de TypeWriter (children, criteria)
CampoTipoPredeterminadoDescripción
childrenList<Ref<AudienceEntry>>empty—
criteriaList<Criteria>empty—

How to use it​

Put this entry on a manifest page. Every player who passes criteria gets a companion based on definition; when they stop matching, it is removed.

  • definition accepts NPC definitions and ModelEngine definitions only.
  • activity is optional. Without it, the companion simply idles and follows.
  • minDistance is the distance kept when the player stands still, maxDistance the distance kept while the player moves.
  • One companion exists per definition and per player. To give a player two different companions, create two invocation entries with two definitions.