- Joined
- Jun 18, 2008
- Messages
- 119
I'm having some difficulty figuring out how to set up a fourth resource.
Event - a unit (requiring the resource) begins training
Condition -
Action - If: Real (?): ??? (Something to the effect of, amount of variable x equal to x)
Then: Subtract x amount of variable x
Else: Stop training, display message: "you do not have enough resource to do that"
I also need the multiboard coding that would display this in a live update without causing lag.
If someone could get this in vJass with no leaks, I'd prefer it.
Please thanks!
Event - a unit (requiring the resource) begins training
Condition -
Action - If: Real (?): ??? (Something to the effect of, amount of variable x equal to x)
Then: Subtract x amount of variable x
Else: Stop training, display message: "you do not have enough resource to do that"
I also need the multiboard coding that would display this in a live update without causing lag.
If someone could get this in vJass with no leaks, I'd prefer it.
Please thanks!