• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Triggered Music Problem!

Status
Not open for further replies.
Level 4
Joined
Jun 2, 2012
Messages
747
Hey hivers, I have a problem. How DO I make a music stop when you defeat the unit (BOSS) or by far range. Example, you are 256 range of a BOSS, the music will play but How do I make the music stop when it is 1000+ range or the BOSS is dead?

Another question, How do I make displaying of text once, example I will display the name of boss whn you are in 256 range of the BOSS but this happens.... Everytime I go with it in range it will display it many times. I only need once.

PLS MAKE IT IT DETAILED AND IN TRIGGER FORM!

:thumbs_up::thumbs_up::thumbs_up:From: Allain55X:thumbs_up::thumbs_up::thumbs_up:
 
Level 10
Joined
Jan 20, 2011
Messages
492
First Problem:


  • Music
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
    • Actions
      • Sound - Stop ArtilleryCorpseExplodeDeath1 <gen> Immediately
For if a unit leaves it's range, I'm not sure how to do that, since there is no event for it, so I would suggest using the:
  • Time - Every 1.00 seconds of game time
and check if the unit's are in range, play music, if they are not turn it off

For the second problem, just make it

  • Boss Message
    • Events
      • Unit - A unit comes within 256.00 of Boss <gen>
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • -------- The condition is just to stop neuts from activating it --------
      • Game - Display to (All players) the text: BLAHBLAHBLAH
      • Trigger - Turn off (This trigger)
Only problem is when you kill him, this won't work again (If you have a creep respawn system), due to the event having to select a unit, not a unit type

If you want to turn the trigger back on, so it happens every time you enter a dungeon, just add this line to the trigger to enter

  • Trigger - Turn off Boss Message <gen>
 
Last edited:
Status
Not open for further replies.
Top