Home   Help Search Login Register  

Author Topic: Music  (Read 409 times)

0 Members and 1 Guest are viewing this topic.

OlaRune

  • Guest
Music
« on: 20 Jan 2004, 15:52:06 »
I have made a mission with a guy playing loud music. i want the music to stop when i kill the guy. If I need a script please explain much. I am very bad at scripting. The music guy has the variable b. I have made a trigger with the "condition" (alive b) and "on activation" m=true. Theres another trigger with "condition"m and "effect" to play the music file named i can fly or something like that. I also have another trigger with "condition" (not(alive b)) and "on activation" m=false. I get the music but when i kill the guy the music continues. This works when i use the alarm sound instead of music. Please help me.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Music
« Reply #1 on: 20 Jan 2004, 17:58:23 »
Make the music (m=true) trigger activate Repeatedly (rather than once).  That might do the trick.
Plenty of reviewed ArmA missions for you to play

OlaRune

  • Guest
Re:Music
« Reply #2 on: 21 Jan 2004, 22:06:41 »
I have already done that. Anything else I can try?

keou

  • Guest
Re:Music
« Reply #3 on: 21 Jan 2004, 22:13:02 »
i'm just guessing, but can't you just make the guy "say" the music, so when he's dead, he no longer "says" anything, thus stopping the music?

that would also make it directional (reliant on distance for volume), though it'd be mono.

just an idea.