simple crane move
Posted: Fri Nov 14, 2003 8:53 pm
Ok, I am a complete noob at scripting
...so I need you guy's help. I've been playing around/experimenting a lot and am currently trying to make a little crane that can move back and forth along a track on the ceiling. I've made a trigger_use for a button and gave it a targetname of "crane_button" And, for now, I have a one piece crane made out of a script object with the targetname of "crane". I made two waypoints with targetnames of "waypoint_near" and "waypoint_far". All I want it to do for now is to move to one end of the track when you push the button, then move back after 3 sec.
here is the thread I tried:
crane_mover:
$crane moveto $waypoint_near
$crane_button waittill trigger
$crane moveto $waypoint_far
wait 3
$crane moveto $waypoint_near
goto crane_mover
end
I know this is very simple and I probly did something very stupid, but it would really help if someone could explain what I need to do.
ty peeple
here is the thread I tried:
crane_mover:
$crane moveto $waypoint_near
$crane_button waittill trigger
$crane moveto $waypoint_far
wait 3
$crane moveto $waypoint_near
goto crane_mover
end
I know this is very simple and I probly did something very stupid, but it would really help if someone could explain what I need to do.
ty peeple