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

[JASS] Mined gold initializes action

Status
Not open for further replies.
Level 14
Joined
Jul 27, 2007
Messages
793
Howdy!

Would somebody more advanced with JASS be interested in creating a simple gold system?

Basic idea is:

* Trigger is initialized when unit delivers gold back to base
* Trigger checks whether gold is gathered from a particular mine
* If yes, gives 30% to the other player
* If no, does nothing

It's for a basic melee map (no custom races), so it needs to check for Haunted and Entangled mines as well.

Thanks! :)
 
Status
Not open for further replies.
Top