Hello everyone,
Is there a way to create an event which works with a value-range of a variable?
I'll be more specific. What I need is the last step to create a day/night system. I created a variable for hours. I then set that at 8 it will turn day, at 18 sunset, at 20 night and finally at 6 dawn. It only works in outdoor maps of course. My problem is that if I'm indoor and then go outside at 23 for example, it will be day, as i missed the moment of shift where hour was equal to 20. What I want to do is set a common event which says 8<hour<18 it will be day, 18<hour<20 sunset and so on.
I really hope everything is comprehensible because I'm really stuck here...
Thank you!!
Is there a way to create an event which works with a value-range of a variable?
I'll be more specific. What I need is the last step to create a day/night system. I created a variable for hours. I then set that at 8 it will turn day, at 18 sunset, at 20 night and finally at 6 dawn. It only works in outdoor maps of course. My problem is that if I'm indoor and then go outside at 23 for example, it will be day, as i missed the moment of shift where hour was equal to 20. What I want to do is set a common event which says 8<hour<18 it will be day, 18<hour<20 sunset and so on.
I really hope everything is comprehensible because I'm really stuck here...
Thank you!!