Posted: Wed May 11, 2022 9:10 pm Post subject: Changing a value based on a timer
I have a timer and another address, I need to change the value of the address based on the timer along with some conditions, something along the lines of:
Code:
if (timer % 15 == 0):
address = 10
I need this code to be active/toggleable at all times, I thought of using the built in LUA to do it, but I have no idea how to do so... any explanation on how to do this, or some tutorial so I don't have to read the entire CE wiki?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum