so im trying to run this code
trgt=sim.pmap(6, 188);
sim.partProperty(trgt, "ctype", 1);
sim.framerender(1);
for i=1,0x3ffffffe do
crnt=sim.partProperty(trgt, "ctype")+1;
sim.partProperty(trgt, "ctype", crnt);
sim.framerender(1); end
so that a filt goes through all the colors while a cray is creating crmc and i do have it so that subframe magic is happening so it is happening every frame but when i try to run it, it doesn't work properly as it keeps me in the console and I don't understand how evt.tick works and I've also tried interface.console(false) in front but it still doesn't work. sorry but im a little new to all this (lua and tpt lua api).