This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
There is a function to do the opposite (Magazine owner of unit). Is there any way to get a unit group for all magazine units owned by a unit?
Ammo units have the hidden flag so you could maybe search in a region very close to the centre of the unit?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I'm using an external magazine so that wouldn't be possible anyway.
I couldn't find one, but you can do it like this:
pick each (all units that can be a magazine ammo units in entire map) - if (Magazine owner of picked unit is what you need) then ...
There is a function to do the opposite (Magazine owner of unit). Is there any way to get a unit group for all magazine units owned by a unit?
Ammo units have the hidden flag so you could maybe search in a region very close to the centre of the unit?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I'm using an external magazine so that wouldn't be possible anyway.
I couldn't find one, but you can do it like this:
pick each (all units that can be a magazine ammo units in entire map) - if (Magazine owner of picked unit is what you need) then ...