• 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!

open castle event

jel

Member
Joined
Mar 22, 2014
Messages
302
Reaction score
12
Give as much information as possible(TFS version, OS, errors, scripts).
Someone help me with a global event script, I want that at a certain time a wall disappears, after an hour the wall appears again, that every day disappears at a certain time and after an hour closes again.

rather saying a castle event opening.
tfs 1.3

thanks
 
Last edited:
TFS version? Read Support board rules.

Try this one
 
Last edited:
TFS version? Read Support board rules.

Try this one
It's not what I need, I want the wall to come back after 1h
 
Yeah that is what it does, The only difference there in this script is it remove 3 walls instead of 1 and it does this every 2 hours instead of 1 hour.
So all you'll have to do is remove 2 walls of the 3 and make it every 1 hour instead of 2 hours.
Here are the lines where it adds wall/removes it.
LUA:
Game.createItem(itemid, 1, position)
wall:remove()
 
Back
Top