Summoning ability costs resources

Status
Not open for further replies.
Level 4
Joined
Jun 20, 2009
Messages
43
I want to make an ability that summons unit(s) cost resources each time it is cast, and fail to cast if the player doesn't have enough resources pay for the casting or lacks the supply to support the summoned unit.

I realize this is a simple thing, but I am a bit of a n00b when it comes to triggers.

If you must know, this is for the Leviathan's "Spawn Mutalisk" and "Spawn Brood Lord" abilities.

Any help would be appreciated.
 
A validator.... Its a data type (apparently you have not looked through more than a few data types).

They are used to create conditions. Eg a validator can restrict the number of larve that spawn at a hive, when the immortal's hardened shield activates, all kinds of stuff.

Requirements are simlar to validators, but are different. A requirement has the facility to visually explain why something can not be done (eg, the interceptor train ability has a requirement which will say stuff like can not have more than 8 per carrier). I believe all requirements will compile the nescescary validators to work.
 
A validator.... Its a data type (apparently you have not looked through more than a few data types).

They are used to create conditions. Eg a validator can restrict the number of larve that spawn at a hive, when the immortal's hardened shield activates, all kinds of stuff.

Requirements are simlar to validators, but are different. A requirement has the facility to visually explain why something can not be done (eg, the interceptor train ability has a requirement which will say stuff like can not have more than 8 per carrier). I believe all requirements will compile the nescescary validators to work.

OK...

Except I cannot find a "validator" field to apply said supply issue.

Sorry if I seem like a dunce, but I have a very poor understanding of HOW to modify even fairly "basic" advanced functions like validators, requirements and triggers.
 
Status
Not open for further replies.
Back
Top