Page 1 of 1

moving stone?

Posted: Sat Apr 05, 2003 3:55 pm
by IJsbeer
i want to build a large stone in my multipayer level and when you activate a trigger the stone moves aside (just like in the campaign).
Does anyone know how to fix this?
tnx

Posted: Sat Apr 05, 2003 5:08 pm
by jv_map
If you're a script-o-fobic, this might work:
  1. Make the stone a script_object.
  2. Create an info_splinepath where you want the stone to move to.
  3. Select first the stone, then the splinepath and press ctrl + k.
  4. Create a trigger(_multiple?) that has to activate the stone.
  5. Select first the trigger, then the stone and press ctrl + k.
  6. If there's a line from the trigger to the stone to the splinepath, you're done. Otherwise check targets and targetnames.
If this doesn't work I might have to move this thread to scripting :?

Posted: Sat Apr 05, 2003 7:56 pm
by wacko
A func_door might work aswell, make a trigger_use with key/value target/stone for the switch or a trigger_multiple for a area the player must enter to move the stone (i.e. the func_door) which has targetname/stone and give it the angle, where it should move to, the distance can be set with the lip key. I think with a key/value lip/0 the stone moves it's length in this direction, a value lower than 0 makes it move further...