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

[Trigger] Income System

Status
Not open for further replies.
Level 4
Joined
Jan 27, 2020
Messages
51
income system that increases the income whenever units are sent to the enemy.
 
Level 4
Joined
Jan 27, 2020
Messages
51
You need an integer array keeping income for every player.
A trigger that detects buying the sent units, that will increase the array value for the buying player.
And another trigger, that will give gold to each player equal to the value in the array every x seconds.

Can you teach me im just a beginner
 
Status
Not open for further replies.
Top