Script help.
Posted: October 10th, 2008, 6:33 pm
okay so i have a brush that i want to go up and down. The brush is in the middle of the up/down path. I want it to go 88 units up and 115 units down. heres my script:
All it does is go up 88 units then go down 115 units then back up 88. I guess what im trying to ask is how do i make it go back up 115 units?
Code: Select all
bridge_1()
{
bridge_1 = getent("bridge_1","targetname");
while(1)
{
bridge_1 moveZ (88,2,0.5,0.5);
bridge_1 waittill("movedone");
bridge_1 moveZ (-115,2,0.5,0.5);
bridge_1 waittill("movedone");
}
}