Does anyone know how Blizzard has set out the whole harvesting deal? Such as harvesting wood from trees, where they get a little lumber integer or whatever increasing with every hit.
I ask this basically because I'd like to duplicate this to a certain extent, but instead of a little resource counter going up or however it works, the trigger simply adds charges to a little lumber item that the peasant carries.
Such as, I have a fishing boat that casts a modified aerial shackles on a 'fish', I want the fishing boat to recieve one charge of fish for every second it is using the 'fishing net' on the unit, and stop recieving if it cancels the ability.
(I'm having problems figuring this little trigger out.)
Most importantly though I want to know how they do it so that my peasants can harvest Wheat destructibles, and Ore destructibles. (And I wouldn't mind knowing how harvest nearest lumber/gold works either).
Cheers.
I ask this basically because I'd like to duplicate this to a certain extent, but instead of a little resource counter going up or however it works, the trigger simply adds charges to a little lumber item that the peasant carries.
Such as, I have a fishing boat that casts a modified aerial shackles on a 'fish', I want the fishing boat to recieve one charge of fish for every second it is using the 'fishing net' on the unit, and stop recieving if it cancels the ability.
(I'm having problems figuring this little trigger out.)
Most importantly though I want to know how they do it so that my peasants can harvest Wheat destructibles, and Ore destructibles. (And I wouldn't mind knowing how harvest nearest lumber/gold works either).
Cheers.