now i need some help with script
i can make it move with trigger_use
it works good
but the speed wont work good
and it wont go all down
why is that
here is my code
if u know how to make it good and work like a good elevator(speed)
please modifie my script.
thx.
Code: Select all
main()
{
thread jumpsmappy_elevator();
}
jumpsmappy_elevator()
{
lift90 = getent ("lift90","targetname");
lift_trig90 = getent ("lift_trig90","targetname");
while (1)
{
lift_trig90 waittill ("trigger",user);
iprintln ("Elevator Going Down!");
wait 3;
lift90 movez (-1.344, 7.5, 3.5, 4);
lift90 waittill ("movedone");
wait 3;
lift90 movez (1.344, 7.5, 3.5, 4);
lift90 waittill ("movedone");
wait 1;
}
}