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

Lay Goblin mine limit.

Status
Not open for further replies.
Level 13
Joined
Jul 2, 2008
Messages
1,182
I need a trigger that limits the amount a spell can be used.
For example i want a unit that can plant Goblin mines. But it has only a certain amount of them. Similar to the Vulture mines from Starcraft Broodwar.
 
Level 21
Joined
Mar 27, 2012
Messages
3,232
I need a trigger that limits the amount a spell can be used.
For example i want a unit that can plant Goblin mines. But it has only a certain amount of them. Similar to the Vulture mines from Starcraft Broodwar.

I would make it with level of ability or a variable array together with unit indexer.

With level of ability you'd just decrease level of ability whenever the ability is used.
 
Status
Not open for further replies.
Top