Soandso2
Well-known member
So, there is a timer datatype. The values are normal integers, but the timer has a feature that makes it automatically count down to zero directly after being set. https://docs.macroquest.org/reference/data-types/datatype-timer/?h=timer
In macroscript you declare timers like this:
timer in macroscript
But in Lua you dont declare datatypes (as far as this here noob understands things)
How do I tell my Lua that "this variable, that currently holds an integer, is and should behave, like a timer"? I googled and found the question asked, but no answer given,
In macroscript you declare timers like this:
timer in macroscript
Code:
/declare BuffTimer timer local
/varset BuffTimer 360
But in Lua you dont declare datatypes (as far as this here noob understands things)
How do I tell my Lua that "this variable, that currently holds an integer, is and should behave, like a timer"? I googled and found the question asked, but no answer given,


