Small problem dealing with triggers and possibly script???

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
dooguesgoober4
Captain
Posts: 246
Joined: Fri Oct 17, 2003 1:00 am
Location: Akron, OH
Contact:

Small problem dealing with triggers and possibly script???

Post by dooguesgoober4 »

Here is a picture of the triggers i have set for a "secret" hatch that opens when the triggers are used....

Image

And here is a copy of the script that is used to move the trigger....

Code: Select all

//---------------------------------------------
// Manhole_Cover2
//---------------------------------------------
manhole_cover2_mover:
  while(1) // Forever
  {
    $manhole_cover2_trigger waittill trigger
    $manhole_cover2 time 2
    $manhole_cover2 playsound ("door_metal_open_move" + (randomint(3) + 1))
    $manhole_cover2 rotateXup -90
    $manhole_cover2 waitmove
    $manhole_cover2_trigger waittill trigger
    $manhole_cover2 playsound ("door_metal_close_move" + (randomint(1) + 1))
    $manhole_cover2 rotateXdown -90
    $manhole_cover2 waitmove
    $manhole_cover2 playsound ("door_metal_close_stop" + (randomint(2) + 1))
  }
  // removed a goto and replaced it with a while loop
end
And for some reason...the trigger does not work in game...can anyone help me????
~DooGues~

Image
Download Now!!
bighoss
Major
Posts: 276
Joined: Fri Jan 09, 2004 3:34 pm
Location: USA, Ohio

Post by bighoss »

Umm maybe try making the trigger one big trigger over the hatch instead of three seperate trigger brushes.
Image
Strive to accomplish great things!!
dooguesgoober4
Captain
Posts: 246
Joined: Fri Oct 17, 2003 1:00 am
Location: Akron, OH
Contact:

Post by dooguesgoober4 »

That could possibly be it Hoss because in the game....only one trigger works ive found out....ill have to try that
~DooGues~

Image
Download Now!!
Post Reply