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

Gold Drop off Event?

Status
Not open for further replies.
Level 3
Joined
Sep 21, 2005
Messages
33
Is there an event that catches when a unit drops off gold at a town hall? I want to have a random chance that when a unit comes back from the gold mine he will be carrying a rare gem...
 
Event:
A unit begins casting an ability
Condition:
Ability being cast equal to Return Gold
Random Integer between 1 and 20 equal to 1
Action:
Etc...
 
Doesnt Work, already tried it
i used Or- Multiple conditions and added all the types of returns.
Also tried changing the event to finishes casting an ability.
 
Begins the effects? Have you tried all the ability related events, it has to be one of them.
 
No, no inventory.
Its just dropping off normal gold like it does in melee, i'm trying to figure out how/if i can track when it drops off the gold at the town hall.
 
I've realised my opening post is a bit confusing...

I want to have the peasant drop off the gold, it as he drops off the gold that the gem is "discovered" amongst the gold. The gem will be just an integer stored for a multiboard which will be then used as an extra resource.

It's not the gem part i'm having trouble with.
 
Status
Not open for further replies.
Back
Top