Tbol
Active Member
- Joined
- Apr 7, 2019
- Messages
- 465
- Reaction score
- 47
Using this wave event script GlobalEvent - TFS 1.3 Monster Wave Event (https://otland.net/threads/tfs-1-3-monster-wave-event.273925/)
but for some reason it doesnt execute the globalevent
but for some reason it doesnt execute the globalevent
Code:
<globalevent name="Wavevent" interval="120000" script="wavevent.lua" />
Lua:
local timeWait = 1 -- Time in minutes to wait until trying to start the event. --
function onThink(interval)
if MW_STATUS == 0 then
Game.broadcastMessage("Monster wave event is now open. Enter the event portal to particiapte.", 1)
MW_STATUS = 1
addEvent(MW_tryEvent, timeWait * 60 * 1000)
end
return true
end