• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help with Quest - Hero Exp

Status
Not open for further replies.
Level 4
Joined
Jul 19, 2007
Messages
76
  • Furbolg Complete
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Quests[1] is enabled) Equal to True
      • (Unit-type of (Dying unit)) Equal to Furbolg
    • Actions
      • Set QuestFurbolg = (QuestFurbolg + 1)
      • Game - Display to (All players) for 3.00 seconds the text: (((String(QuestFurbolg)) + /10) + Furbolgs Killed.)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • QuestFurbolg Equal to 10
        • Then - Actions
          • Quest - Mark Quests[1] as Completed
          • Quest - Display to (All players) the Quest Update message: Quest was successfu...
          • Player - Add 200 to Player 1 (Red) Current gold
          • Player - Add 200 to Player 2 (Blue) Current gold
          • Game - Display to (All players) the text: All Players receive...
          • Trigger - Turn off (This trigger)
        • Else - Actions
          • Do nothing
Ok,
This is my quest system, how to make it to gives also and 500 exp to all heroes allies on Player 1.
Thanks in advance.
 
Pick every unit owned by player 1(red) in playable map area and do (hero - add 500 exp to picked unit)
Is it what you need?

I think that what Mr Deagle wanted was a trigger that adds XP not only yo Red's hero, but all allied heroes too.

  • Actions
    • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick every unit in ((All units in (Playable map area matching (Player 1 is an ally of (Owner of (Matching unit)) Equal to True))) and ((Matching unit) is a Hero) Equal to True)
      • Hero - Add 500 xp to (Picked unit)
 
  • Actions
    • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick every unit in ((All units in (Playable map area matching (Player 1 is an ally of (Owner of (Matching unit)) Equal to True))) and ((Matching unit) is a Hero) Equal to True)
      • Hero - Add 500 xp to (Picked unit)
For Custom Script - (Search Custom Script then Insert Custom script: set bj_wantDestroyGroup = true
For Unit Group - The action is under Unit Group
For Add 500 Exp - The Action is under Hero
 
ORLYowl, I can't create this line
  • Pick every unit in ((All units in (Playable map area matching (Player 1 is an ally of (Owner of (Matching unit)) Equal to True))) and ((Matching unit) is a Hero) Equal to True)
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Player 1 (Red) is an ally of (Owner of (Matching unit))) Equal to True)) and do (Actions)
That's what i make
 
Status
Not open for further replies.
Back
Top