does someone saw full list of (at least) tpt._ and sim._ comands? im not. seaching commands in scripts is time wasting, but i dont found any list. can anyone give me, if its real?
@QuanTech (View Post) @LBPHacker (View Post)
ok, thanks all.
oh, i got two another questions: how to set delay (waiting) betwen executing comands and how to make graphics.__ drawing always?
nah, im made the function as an element (on android :O), but its anyway drawing only when simulation is freezing (ex.console or settings)...
i dont understand nothing. inside of step? but how i will run it, if i want drawing relatively to elements? also the mod, where i copied pieces of elements code (star wars) drawing lines (tpt.drawline) inside a graphics function
local crabs = {}
function seeker(i, x, y, s, n)
...
table.insert(crabs, i)
...
end
tpt.element_func(seeker,HeadCrab)
function draw()
for i,v in ipairs(crabs) do
...
end
if tpt.set_pause() == 0 then
crabs = {}
end
end
tpt.register_step(draw)