• 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.

Treasure Hunt

Status
Not open for further replies.
Level 5
Joined
Jan 15, 2018
Messages
129
The idea of this trigger is for a hero to to cast an ability (dig for treasure) and reap the rewards of that particular treasure. However there are 3 separate treasures to be found. when he cast the ability he discovers all of the treasures. Not just the region he is standing in. I want him to cast it in one region and find that treasure and then have to travel to the other region to uncover the other. Any ideas?


  • TreasureE
    • Events
      • Unit - A unit enters TreasureE <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Captain Flint
    • Actions
      • Unit - Change ownership of Locate the Booty 0742 <gen> to Player 19 (Mint) and Change color
This is so the ability is castable only when he is in one of the regions.

  • EridorT
    • Events
      • Unit - A unit owned by Player 19 (Mint) Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Discover Treasue
      • (Unit-type of (Triggering unit)) Equal to Captain Flint
    • Actions
      • Player - Add 300 to Player 19 (Mint) Current gold
      • Player - Add 1000 to Player 19 (Mint) Current lumber
 
Level 5
Joined
Jan 15, 2018
Messages
129
No for some reason my ability will not show up, so i cant test it. i used channel as a base. going to try a different one this weekend.
 
Status
Not open for further replies.
Top