What I'm trying to do, is to get my worker (acolyte) to harvest Magic from a gold mine. (Without actually getting any gold)
First, I tried editing the gather(acolyte gold) ability. Failed
Then, I tried editing the gold mine ability. Failed
Then, I tried to create a dummy effect where I placed a region around the mine, then triggered my worker to change animation into work gather gold. Almost didn't fail.
I used a "When unit enters a region" event
cond - "Unit-type of entering region = = worker"
act - tempUnit = entering unit
wait
setUnitAnimationByIndex
wait
run this trigger
I used the last "run this trigger" action because it played the animation only once, freezing on the last frame. (I know that's sloppy. Suggestions?)
The problem was, that if multiple units were ordered to the mine at the same time, only one unit would play the animation.
I would like to just manipulate the gather ability somehow, but I'm not sure how to do it. Without adding gold anyway.
Thanks.