I wrote a cog and it works somewhat. Its supposed to move a thing to frame one, sleep, then move back to frame 0 and sleep and so on and so forth, but, it only moves to frame one and then Stays there. Here's the Cog
Please let me know what you do to it and why if you can. Im tryin to learn to cog.
------------------
Total Toothpickings; 7
Code:
# Written By Dude # #Custom Shuttle Script # # #======================================================= symbols message startup message timer thing shuttle0 float movespeed=5.0 float sleeptime=6.0 float lightvalue=0.5 end #======================================================= code startup: SetTimer(sleeptime); MoveToFrame(shuttle0, 1, movespeed); SetTimer(sleeptime); MoveToFrame(shuttle0, 1, movespeed); SetTimer(sleeptime); return; end
Please let me know what you do to it and why if you can. Im tryin to learn to cog.
------------------
Total Toothpickings; 7
<SalvadorChicka> i wasn't all "omg canadians have sex with each other!"