Code: Select all
main()
{
thread bonus_targ_1();
}
bonus_targ_1()
{
trapdoor=getent("bonus_targ_1","targetname");
trig=getent("bonus_targ_trig_1","targetname");
while(1)
{
trig waittill ("trigger");
trapdoor rotateto( (0,0,-90),0.3);
trapdoor waittill ("rotatedone");
wait (3);
trapdoor rotateto( (0,0,0),1.7);
trapdoor waittill ("rotatedone");
}
}
I want to it make it fully go down like mp_trial.
Any help?
Thanks