Part of DungeonData . Event groups are the primary scripting mechanism for dungeon encounters. Each group defines a trigger condition and contains event tasks that execute when triggered.
DungeonData events use a 4-level hierarchy:
EventGroup (trigger definition)
└── Event (optional quest/text association)
└── EventTaskGroup (probability-weighted selection)
└── EventTask (individual scripted action)
94% of dungeons use the flat tasks shorthand, which omits the Event and EventTaskGroup wrappers. The mapper automatically creates them with default values (single Event, single EventTaskGroup with probability 1.0):
string : " @dungeon:welcome "
Use the nested syntax when you need multiple EventTaskGroups with different probabilities, or event-level properties:
Property Type Since Description typeEventGroupTypev92 Trigger type for the event group repeatboolv92 Allow the event group to repeat uniqueIdstringv92 NPC reference as huntingZone,templateId valuestringv92 Trigger threshold value namestringv92 Event group name identifier idintv92 Numeric event group ID timerNamestringv92 Referenced timer name territoryIdstringv92 Territory ID trigger killCountNamestringv92 Kill counter name reference triggerUserClassstringv92 Restrict trigger to player class stopWhenDeathboolv92 Stop event group on entity death eventNamestringv92 Named event reference comparisonEventGroupComparisonv92 Value comparison operator stopWhenResetboolv92 Stop event group on dungeon reset targetNpcIdstringv92 Target NPC as huntingZone,templateId value2stringv92 Secondary trigger value logRecordboolv92 Enable log recording checkVillagerMenuboolv92 Check villager menu state phaseLevelintv92 Dungeon phase level requirement stopWhenCombatboolv92 Stop event group when combat starts repeatAliveboolv92 Repeat only while NPC is alive needAllMemberboolv92 Require all party members present nextstringv92 Next event group reference nextValuestringv92 Parameter for next event group taskslistv92 Flat task list (shorthand syntax) eventslistv92 Nested event list (full syntax)
Property Type Since Description questIdstringv92 Associated quest ID taskIdstringv92 Associated quest task ID textIdstringv92 Display text string ID repeatboolv92 Allow event to repeat eventTaskGroupslistv92 Weighted task group list
Property Type Since Description probabilitydecimalv92 Selection weight (0.0-1.0) eventTaskslistv92 Task entries in this group
Value Since Description "none"v92 No trigger (manual activation) npcHpv92 NPC HP threshold reached flagv92 Flag value changed timerv92 Timer expired enterTerritoryv92 Player enters territory npcResetv92 NPC reset to initial state eliminatev92 All target NPCs eliminated killCountv92 Kill count threshold reached npcStatev92 NPC state changed questProgressv92 Quest progress updated initializev92 Dungeon initialization Workobjectv92 Work object interaction talkNpcv92 NPC dialogue triggered eventGagev92 Event gauge threshold reached eliminateRepeatlyv92 Repeated elimination trigger npcPartBreakv92 NPC part destroyed annihilatedv92 Party wiped questFailv92 Quest objective failed userCountInTerritoryv92 Player count in territory changed leaveTerritoryv92 Player leaves territory phaseInitializev92 Phase initialization userCountInDungeonv92 Player count in dungeon changed
Value Since Description "none"v92 No comparison (exact match) gtv92 Greater than ltv92 Less than