hello all
i need to know when make a door who move when i touch
you know what i mean?
i move in touching the door and the door turn
pls help me
ORDI
xfire: ordi37zk
hello all
i need to know when make a door who move when i touch
you know what i mean?
i move in touching the door and the door turn
pls help me
ORDI
xfire: ordi37zk
Hey Mr. Alais ()
Make a door and a trigger_multiple; this trigger is activated when a player is touching it (NOT pressing F)
After that, go to notepad++ and write as usually you would do when you make a 'normal' door:
PHP Code:
main()
{
trig = getent("trig","targetname");
door = getent("door","targetname");
while(1)
{
trig waittill("trigger");
door movex(20,2);
door waittill("movedone");
wait 2;
door movex(-20,2);
door waittill("movedone");
}
}