k well this is what i got so far for an escalator
http://social.xfire.com/videos/63458b
heres a vid but now i wanna know how do i keep it rotating all map long without needing to use a trigger or so
and if i need a new script and redo some stuff in radiant could any one tell or explain me i got no clue how to make this escalators work perfectly
Heres the image of the escalators i want to work
heres the script
Code:
main()
{
maps\mp\_load::main();
Patanosta = getent("patanosta","targetname");//the objekt with the targetname “patanosta” has the name “Patanosta”
Patanosta thread Patanosta_Move();//the script contains the thread Patanosta_Move
}
Patanosta_Move()//starts the thread Patanosta_Move
{
Targ1 = getent(self.target,"targetname");
Targ2 = getent(Targ1.target,"targetname");
Targ3 = getent(Targ2.target,"targetname");
Targ4 = getent(Targ3.target,"targetname");
Targ5 = getent(Targ4.target,"targetname");
Targ6 = getent(Targ5.target,"targetname");
Targ7 = getent(Targ6.target,"targetname");
Targ8 = getent(Targ7.target,"targetname");
Targ9 = getent(Targ8.target,"targetname");
Targ10 = getent(Targ9.target,"targetname");
Targ11 = getent(Targ10.target,"targetname");
Targ12 = getent(Targ11.target,"targetname");
Targ13 = getent(Targ12.target,"targetname");
Targ13 = getent(Targ12.target,"targetname");
while (1)
{
self moveto (targ1.origin,2);
Targ1 moveto (targ2.origin,2);//example explanationŕTarg2 is moving on the psition of targ2 in 20 seconds
Targ2 moveto (targ3.origin,2);
Targ3 moveto (targ4.origin,2);
Targ4 moveto (targ5.origin,2);
Targ5 moveto (targ6.origin,2);
Targ6 moveto (targ7.origin,2);
Targ7 moveto (targ8.origin,2);
Targ8 moveto (targ9.origin,2);
Targ9 moveto (targ10.origin,2);
Targ10 moveto (targ11.origin,2);
Targ11 moveto (targ12.origin,2);
Targ12 moveto (targ12.origin,2);
Targ13 moveto (targ13.origin,2);
Targ13 waittill ("movedone");
}
}