Hello folks!
I have a simple one question about in-game time and changing specific itemID to another one when the condition is made.
First Question :
It's any possibility to make function like this in LUA: setTibianTime to set In-Game Time to specific hours and minutes?
ex. setTibianTime(23:00) , that will set the in-game time to 23:00 (night).
Request:
I need an globalevent which doing something like changing itemID on entire map to Y when getWorldLight() == 10 and changing back to itemID when getWorldLight() >= 250.
Need it to turn on all lamps on map while is night in-game and turn off when day comes.
Thanks in advance anyone,
Bless, F.
I have a simple one question about in-game time and changing specific itemID to another one when the condition is made.
First Question :
It's any possibility to make function like this in LUA: setTibianTime to set In-Game Time to specific hours and minutes?
ex. setTibianTime(23:00) , that will set the in-game time to 23:00 (night).
Request:
I need an globalevent which doing something like changing itemID on entire map to Y when getWorldLight() == 10 and changing back to itemID when getWorldLight() >= 250.
Need it to turn on all lamps on map while is night in-game and turn off when day comes.
Thanks in advance anyone,
Bless, F.