• 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
Hello im about making a unit spawning in a area like the legion TD sending to the enemy which you send them so i want to put some income so they will spawn a unit in an area because the income increasing as you bought a unit to attack the enemy automatically.
VVHZcM7
heres the image so you can get idea what's the mean what im sayin' heheheh
If you have idea in this map just comment thank you
 
Level 8
Joined
May 21, 2019
Messages
435
Hello im about making a unit spawning in a area like the legion TD sending to the enemy which you send them so i want to put some income so they will spawn a unit in an area because the income increasing as you bought a unit to attack the enemy automatically.
VVHZcM7
heres the image so you can get idea what's the mean what im sayin' heheheh
If you have idea in this map just comment thank you
No offense, but this is extremely hard to read.

I guess what you want is an income system that increases the income whenever units are sent to the enemy.
It's fairly easy. All you need is:

  • an array of the income for all players
  • a periodic event that gives the amount of gold in the array to each respective player
  • triggers that increase the income variables whenever they buy attacking units.
Are you able to make any of this yourself?
 
Level 8
Joined
May 21, 2019
Messages
435
emm double post ??

@Cespie pretty sure this guy wants somebody to make that trigger for him lol
Yeah, I reported the other post.

@.DotQ I don't mind making these triggers for you, if you need it. Wouldn't take more than like 10 minutes. I do think it would be better if you tried yourself though, the learning experience could be more valuable than the end result.
 
Status
Not open for further replies.
Top