Fixed up some lua scripts. Fleshed out the dream stuff for Hildie quests. NOTE: Finish player.lua as it has pseudo code.

This commit is contained in:
Filip Maj 2022-04-13 20:03:46 -04:00
parent c3b4735cc5
commit 5c0d2c1d7f
7 changed files with 84 additions and 21 deletions

View file

@ -5,14 +5,5 @@ function init(npc)
end
function onEventStarted(player, npc, eventType, eventName)
if (eventType == ETYPE_PUSH) then
if (eventName == "caution") then
worldMaster = GetWorldMaster();
player:SendGameMessage(player, worldMaster, 34109, 0x20);
elseif (eventName == "exit") then
GetWorldManager():DoPlayerMoveInZone(player, 5.36433, 196, 133.656, -2.84938);
end
end
player:EndEvent();
end