Zum Hauptinhalt springen

Dungeon Close

Dungeon Close

Action/command to close an active dungeon instance and teleport players out.

Felder

FeldTypStandardBeschreibung
dungeonInstanceRef<DungeonInstanceEntry>—Target dungeon instance
exitPointWorldLocation—Teleport location after closing
WorldLocation (6)
FeldTypStandardBeschreibung
worldString——
xInt0—
yInt0—
zInt0—
yawFloat0—
pitchFloat0—
closeMessageVar<String>Closing dungeonMessage shown when the dungeon closesPlatzhalterFarben
Gemeinsame TypeWriter-Felder (criteria, modifiers, triggers)
FeldTypStandardBeschreibung
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Ends the run of dungeonInstance that the triggering player is in, as an admin close. Players are teleported to exitPoint when its world is set, and to where they came from otherwise. onEnd fires for each member, the chests, NPCs and mobs of the run are removed, and the world is released. If the run is already ending, nothing happens twice.

To end a run because the dungeon was finished, use Dungeon Complete instead: it also records the completion and the best time and raises the completion event.