• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Treasure Hunt

Status
Not open for further replies.
Level 5
Joined
Jan 15, 2018
Messages
128
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
128
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