A) Custom unit - can be built at any time for anyone at any building that can make it any number of times.
B) Custom building - can be built at any time at any location on the map.
If A enters a range of 6 to B (allies building, not enemies, enemies would = do nothing) then A is destroyed and owner of B receives X amount of resources. Then turn trigger on again so it can happen again for another player
now I was thinking if I cant do this with triggers then my back up option is can I do something where "A" can harvest resources and ONLY return them to a allied building capable of receiving resources? And how would I do this?
how do i tell the game to re act to a custom unit entering range of custom building
bump
Well, depending on how you want to make this work, you might need to tell us how you want the building react.
A) Custom unit - can be built at any time for anyone at any building that can make it any number of times. B) Custom building - can be built at any time at any location on the map.
If A enters a range of 6 to B (allies building, not enemies, enemies would = do nothing) then A is destroyed and owner of B receives X amount of resources. Then turn trigger on again so it can happen again for another player
now I was thinking if I cant do this with triggers then my back up option is can I do something where "A" can harvest resources and ONLY return them to a allied building capable of receiving resources? And how would I do this?