Hi!
I'm all new to this forum and its rules, so I hope I don't break any or that this question is already answered somewhere else, but anyways:
My situation:
I got a map where lumber isn't needed anymore (only gold atm), except for technology points (lumber?). I want to be able to make a structure where you use your workers to collect these technology points.
I was looking at the haunted gold mine ability, since it is that way I want it to be done (the workers stationed around the structure collecting).
I don't want to change the "tree" model to a structure and see the workers chopping the building for tech. points xD and make them run around to "deliver" the tech points at a lumber mill or something
I dont know if it is relevant, but I want this tech structure to be buildable and only allowed 1 at a time (this I know how to do)
Additionaly: I'm not familiar with custom script or anything like that, but I've done some map makings before and alot of triggers.
But the problem is I can't figure out a trigger or something that allows me to do what I want in this situation:
(This is only how I want it, what the actually events/conditions/actions are for it is what i need help for.)
Event:
Gold is acquired from gold mine
Condition:
Gold collected is from *specific gold mine* (Tech structure)
Action:
Set (owner of triggering unit) current lumber to +1
Set (owner of triggering unit) current gold to -1 (remove the gold it collected)
Any help would be appreciated!
Thanks.
I'm all new to this forum and its rules, so I hope I don't break any or that this question is already answered somewhere else, but anyways:
My situation:
I got a map where lumber isn't needed anymore (only gold atm), except for technology points (lumber?). I want to be able to make a structure where you use your workers to collect these technology points.
I was looking at the haunted gold mine ability, since it is that way I want it to be done (the workers stationed around the structure collecting).
I don't want to change the "tree" model to a structure and see the workers chopping the building for tech. points xD and make them run around to "deliver" the tech points at a lumber mill or something
I dont know if it is relevant, but I want this tech structure to be buildable and only allowed 1 at a time (this I know how to do)
Additionaly: I'm not familiar with custom script or anything like that, but I've done some map makings before and alot of triggers.
But the problem is I can't figure out a trigger or something that allows me to do what I want in this situation:
(This is only how I want it, what the actually events/conditions/actions are for it is what i need help for.)
Event:
Gold is acquired from gold mine
Condition:
Gold collected is from *specific gold mine* (Tech structure)
Action:
Set (owner of triggering unit) current lumber to +1
Set (owner of triggering unit) current gold to -1 (remove the gold it collected)
Any help would be appreciated!
Thanks.