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

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...
 
Level 3
Joined
Oct 21, 2004
Messages
72
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...
 
Level 3
Joined
Sep 21, 2005
Messages
33
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.
 
Level 3
Joined
Oct 21, 2004
Messages
72
Begins the effects? Have you tried all the ability related events, it has to be one of them.
 
Level 3
Joined
Sep 21, 2005
Messages
33
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.
 
Level 3
Joined
Sep 21, 2005
Messages
33
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.
Top