Pular para o conteúdo principal

escort_objective

Escort an NPC along a route — misc entry.

Entry Information

PropertyValue
Entry IDescort_objective
TypeMisc
ColorGreen
Iconmdi:human

Fields

FieldTypeDescription
maxHealthVar<Double>Maximum health of the escort mob
regenPerSecVar<Double>Health regenerated per second. 0 = no regeneration
damageReductionPctVar<Double>Percent of incoming damage to negate (0-100)
mobHitDamageVar<Double>Amount of health lost each time the escort mob is hit by another mob
invulnerableVar<Boolean>If true the escort mob is completely invulnerable
hurtSoundVar<Sound>Custom sound to play when the escort mob takes damage
guardRadiusVar<Double>Radius the player must stay within to keep the escort active
loseToleranceSecVar<Int>Seconds the player is allowed to exceed the guard radius before failing
globalTimeLimitSecVar<Int>Time limit in seconds for the whole escort. 0 = unlimited
nodeReachRadiusVar<Double>Distance considered as reaching a waypoint
spawnRadiusVar<Double>Radius around the spawn node to spawn the NPC
startRadiusVar<Double>Distance from the NPC required to start the escort
npcRef<out SimpleEntityInstance>Existing NPC instance used for the escort visual
ambushesList<AmbushSpec>Optional ambush triggers executed at checkpoints
enableScoreboardVar<Boolean>If true, display a scoreboard tracking progress
enableBossBarVar<Boolean>If true, display a bossbar showing escort health
onEscortStartRef<TriggerableEntry>Trigger executed when the escort starts
onCheckpointRef<TriggerableEntry>Trigger executed when the escort reaches a waypoint
onEscortLostRef<TriggerableEntry>Trigger executed when the player leaves the guard radius
onEscortRecoveredRef<TriggerableEntry>Trigger executed when the player returns within the guard radius
onEscortResetRef<TriggerableEntry>Trigger executed when the escort resets after being too far or the player dying
onEscortCompleteRef<TriggerableEntry>Trigger executed when the escort completes successfully
onEscortFailRef<TriggerableEntry>Trigger executed when the escort fails
hideObjectiveVar<Boolean>Whether to hide this objective from the tracking menu (scoreboard/placeholders) unless the quest is tracked.

Usage Example

- entry: escort_objective
name: "Escort an NPC along a route"
maxHealth: 0
regenPerSec: 0
damageReductionPct: 0
mobHitDamage: 0
invulnerable: false
hurtSound: ""
guardRadius: 0
loseToleranceSec: 0
globalTimeLimitSec: 0
nodeReachRadius: 0
spawnRadius: 0
startRadius: 0
npc: ""
ambushes: []
enableScoreboard: false
enableBossBar: false
onEscortStart: ""
onCheckpoint: ""
onEscortLost: ""
onEscortRecovered: ""
onEscortReset: ""
onEscortComplete: ""
onEscortFail: ""
hideObjective: false