Posted: December 12th, 2006, 9:52 pm
it probably went out of the map, make it slower so you can watch where it goes and correct it.
platform moveY (88,4,0.3,0.3);
CoDJumper.com - For all your CoDJumping needs!
https://www.codjumper.com/forums/
platform moveY (88,4,0.3,0.3);
Code: Select all
main()
{
thread platform();
thread platform1();
thread platform2();
thread platform3();
thread platform4();
thread platform5();
thread platform6();
thread platform7();
thread platform8();
thread platform9();
thread platform10();
thread box1();
thread box2();
}
platform()
{
platform = getent ("platform","targetname");
while(1)
{
platform moveY (434,1,0.5,0.5);
platform waittill ("movedone");
wait(0);
platform moveZ (-434,1,0.5,0.5);
platform waittill ("movedone");
}
}
platform1()
{
platform1 = getent ("platform1","targetname");
while(1)
{
platform1 moveZ (-434,1,0.5,0.5);
platform1 waittill ("movedone");
wait(0);
platform1 moveZ (434,1,0.5,0.5);
platform1 waittill ("movedone");
}
}
platform2()
{
platform2 = getent ("platform2","targetname");
while(1)
{
platform2 moveZ (362,1,0.5,0.5);
platform2 waittill ("movedone");
wait(0);
platform2 moveZ (-362,1,0.5,0.5);
platform2 waittill ("movedone");
}
}
platform3()
{
platform3 = getent ("platform3","targetname");
while(1)
{
platform3 moveY (183,1,0.5,0.5);
platform3 waittill ("movedone");
wait(0);
platform3 moveY (-183,1,0.5,0.5);
platform3 waittill ("movedone");
}
}
box1()
{
box1 = getent ("box1","targetname");
while(1)
{
box1 moveZ (-280,1,0.5,0.5);
box1 waittill ("movedone");
wait(0);
box1 moveZ (280,1,0.5,0.5);
box1 waittill ("movedone");
}
}
box2()
{
box2 = getent ("box2","targetname");
while(1)
{
box2 moveZ (-280,1,0.5,0.5);
box2 waittill ("movedone");
wait(0);
box2 moveZ (280,1,0.5,0.5);
box2 waittill ("movedone");
}
}
Code: Select all
main()
{
thread platform();
thread platform1();
thread platform2();
thread platform3();
thread box1();
thread box2();
}
platform()
{
platform = getent ("platform","targetname");
while(1)
{
platform moveY (434,1,0.5,0.5);
platform waittill ("movedone");
wait(0);
platform moveZ (-434,1,0.5,0.5);
platform waittill ("movedone");
}
}
platform1()
{
platform1 = getent ("platform1","targetname");
while(1)
{
platform1 moveZ (-434,1,0.5,0.5);
platform1 waittill ("movedone");
wait(0);
platform1 moveZ (434,1,0.5,0.5);
platform1 waittill ("movedone");
}
}
platform2()
{
platform2 = getent ("platform2","targetname");
while(1)
{
platform2 moveZ (362,1,0.5,0.5);
platform2 waittill ("movedone");
wait(0);
platform2 moveZ (-362,1,0.5,0.5);
platform2 waittill ("movedone");
}
}
platform3()
{
platform3 = getent ("platform3","targetname");
while(1)
{
platform3 moveY (183,1,0.5,0.5);
platform3 waittill ("movedone");
wait(0);
platform3 moveY (-183,1,0.5,0.5);
platform3 waittill ("movedone");
}
}
box1()
{
box1 = getent ("box1","targetname");
while(1)
{
box1 moveZ (-280,1,0.5,0.5);
box1 waittill ("movedone");
wait(0);
box1 moveZ (280,1,0.5,0.5);
box1 waittill ("movedone");
}
}
box2()
{
box2 = getent ("box2","targetname");
while(1)
{
box2 moveZ (-280,1,0.5,0.5);
box2 waittill ("movedone");
wait(0);
box2 moveZ (280,1,0.5,0.5);
box2 waittill ("movedone");
}
}