I am trying to produce a system of energy transfers between a set of units of unbounded size. I need some way to prevent the transfers looping back, either directly (a building targeting the building that's supplying it with energy as the target for a transfer) or indirectly (a closed loop of transfers).
To do this I was hoping to have some property, either the number of instances of a given buff or possibly something else, which I can use to compare how many jumps away from the source a given unit is from the source.
Also, is there some way to pair up units, so as to prevent two transfers targeting the same unit?
0
While editing my map I seem to have disabled all triggers from firing. Is there some option somewhere which would toggle this?
Thanks
Never mind, it seems it was an error in one of the triggers that was causing none to be run.
0
I am trying to produce a system of energy transfers between a set of units of unbounded size. I need some way to prevent the transfers looping back, either directly (a building targeting the building that's supplying it with energy as the target for a transfer) or indirectly (a closed loop of transfers).
To do this I was hoping to have some property, either the number of instances of a given buff or possibly something else, which I can use to compare how many jumps away from the source a given unit is from the source.
Also, is there some way to pair up units, so as to prevent two transfers targeting the same unit?
Thanks for whatever help you can give.