looping movelinear
Post Reply
Quote
Re: looping movelinear
Posted by kdhunt2000 on Sat Jan 8th at 8:20pm 2005


ok, I have a movelinear, I put a trigger multiple for it but it just move out then stops. I want it to always move in and out. I have tried making the trigger muiltiple fireuser1, then onuser1 for the movelinear I set it to open and for it to fireuser2 on movelinear, then on fireuser2 I set it to close and fireuser1 on move lienar but that just crashed my game (as expected). How do I make it move continuolosly? ty u in advance



Quote
Re: looping movelinear
Posted by Tracer Bullet on Sat Jan 8th at 9:32pm 2005


Can't you just make it retrigger itself?

i.e. OnStop ---> Move If that doesn't work, you might try using a trigger_relay to do the same sort of thing.

[addsig]




Quote
Re: looping movelinear
Posted by dabait on Sun Jan 9th at 4:41am 2005


Tracer Bullet's suggestion should work.... I've done this myself by accident, though a bit differently...
  • place a trigger_multiple at either end of the travel
  • set one to 'open' the func_linear
  • set the other to 'close' it (go to starting position)
  • set the flags of the triggers to be affected by func_linear

Bullet's solution sounds a bit more elegant





Post Reply