Is there a way to make tmp increase or decrease in a lua script? I would like to know as im trying to copy some elements of mods to lua.
tpt.set_property("tmp","element name",[value])
Yeah I'm not that sure. There is a way to target cords.
Is there a way to increase it, not to change it? so if thats the only way ill need a ton of these...
The nuculars mod has the radon element, and i want to code it to decrease tmp by 1 every 40 frames
Then do something like
var n = 0 (Not sure I don't know much lua)
n+=1
if n%40==0 then
//do what you want
end
@Lord_Bowserinator (View Post)
Is that even Lua? Anyway, i think i can do it without that, using life decreasing to be the timer.