1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-05-19 17:27:45 +00:00
kawari/resources/scripts/opening/OpeningUldah.lua
Joshua Goins cd96804df8 Add basic Event scripting capaibilities
This implements the first event script, going from the first Ul'dah opening
cutscene to the next.
2025-03-28 21:28:30 -04:00

21 lines
442 B
Lua

--- TODO: find a way to hardcode it this way
EVENT_ID = 1245187
function Scene00000(player)
player:play_scene(EVENT_ID, 00000, 4959237, 1)
end
function Scene00001(player)
--- todo put player in correct position
player:play_scene(EVENT_ID, 00001, 4959237, 1)
end
function onEnterTerritory(player)
Scene00000(player);
end
function onSceneFinished(player, scene)
if scene == 0 then
Scene00001(player)
end
end