Home   Help Search Login Register  

Author Topic: different sound for each team script  (Read 526 times)

0 Members and 1 Guest are viewing this topic.

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
different sound for each team script
« on: 28 Apr 2003, 23:06:20 »
ok i would like to make a script that detects what side activates the script in the addon.

so say EAST activats openhand.sqs i would like it to play haha.ogg
but if WEST activates the sma script i would like it to play cooldude.ogg is this detection script posible if so how please can u tell me as i nned it for new addon

thanks

(sound file name are not correct and are only exsamples)

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
Re:different sound for each team script
« Reply #1 on: 03 May 2003, 10:16:54 »
*bump*

Knut Erik

  • Guest
Re:different sound for each team script
« Reply #2 on: 07 May 2003, 11:22:27 »
Hmm. Tricky one...

You could create two triggers. One for East pressent and one for West pressent.
On the west trigger put westsound=True
On the east trigger put eastsound = True

The create the script.

Code: [Select]
#check
?Westsound : goto "West"
?Eastsound : goto "East"
~1
goto "Check"

#West
playsound "westsound"
goto "Check"

#East
Playsound "Eastsound
goto "Check"

Don't know if this script is so good, but at least you'll se what I'm getting to...