PDA

View Full Version : door who move when i touch



ORDI
20th January 2014, 13:24
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

pollo
1st February 2014, 18:53
Hey Mr. Alais (:D)

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:


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");
}
}

ORDI
5th February 2014, 20:48
ty bro
mr actovoto