Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
How could I block this wall of energy so that it only pass when the Ferumbras raid is running?
Solution
E
Evil Puncker
Lua:
local ev = EventCallback
function ev.onSpawn(monster, position, startup, artificial)
if monster:getName() == "Ferumbras" then
Game.setStorageValue(key, value)
end
return true
end
ev:register(1)
but that will only work if you are using newest tfs with callback events
If it's the only ferumbrus that spawns / dies, then you can create a onSpawn function for ferumbrus, that changes the globalStorage, and an onDeath function that turns it back to -1.
If it's the only ferumbrus that spawns / dies, then you can create a onSpawn function for ferumbrus, that changes the globalStorage, and an onDeath function that turns it back to -1.
local ev = EventCallback
function ev.onSpawn(monster, position, startup, artificial)
if monster:getName() == "Ferumbras" then
Game.setStorageValue(key, value)
end
return true
end
ev:register(1)
but that will only work if you are using newest tfs with callback events