Code: Select all
main()
{
maps\mp\_load::main();
thread door1();
}
door1()
{
door1 = getent ("door_1","targetname");
trig = getent ("door_1_trigger","targetname");
while(1)
{
trig waittill ("trigger");
platform rotate(roll,yaw,pitch, I'm not sure which one)(90,5);
wait(5);
platform rotate(roll,yaw,pitch, I'm not sure which one)(-90,5);
wait(5);
}
}