local lastTimer = 0
local function moo()
if os.time() > lastTimer then
tpt.set_property("ctype", "clne", "clne")
lastTimer = os.time()+3
end
end
tpt.register_step(moo)
i tested and it works as i intended, but there is one problem i find:
local lastTimer = 0
local function moo()
if os.time() > lastTimer then
tpt.set_property("ctype", "clne", "clne")
lastTimer = os.time()+0.001
end
end
tpt.register_step(moo)
i want the change to happen more rapidly, but even on this setting it goes quite slow, is this the correct way to speed it up?
local lastTimer = 0
local function moo()
if socket.gettime() > lastTimer then
tpt.set_property("ctype", "clne", "clne")
lastTimer = socket.gettime()+.5
end
end
tpt.register_step(moo)
what is weird is that if you set the ctype of clone to clone with the tool you see that the ctype is clone when you hover over it, with this script it does not show anything in the ctype when you hover over it, and it still clones particles it touches, which he should not be able to accept