But do you think you could clairify for me how to do arrays?
Code: Select all
main()
{
thread run();
}
run()
{
trig = getent ("trig","targetname");
step = getentarray ("step","targetname");
{
trig waittill ("trigger", user);
user iprintln ("HI");
step[0] moveto (200,32,248,1);
step[1] moveto (200,32,248,.9375);
step[2] moveto (200,32,248,.875);
step[3] moveto (200,32,248,.8125);
step[4] moveto (200,32,248,.75);
step[5] moveto (200,32,248,.6875);
step[6] moveto (200,32,248,.625);
step[7] moveto (200,32,248,.5625);
step[8] moveto (200,32,248,.5);
step[9] moveto (200,32,248,.4375);
step[10] moveto (200,32,248,.375);
step[11] moveto (200,32,248,.3125);
step[12] moveto (200,32,248,.25);
step[13] moveto (200,32,248,.1825);
step[14] moveto (200,32,248,.125);
step[15] moveto (200,32,248,.0625);
user iprintln ("HI");
}
}