I'm trying to unload a unit from my custom bunkers using triggers. However, nothing happens. I've included pictures below. I am using the Order With no Target action but I have also used Order with target. Thank you for help.
Try this :
Unit - Order Bunker A [location X:Y] to (unload All (bunker)) (Replace Existing Orders)
Bunker A is the bunker you want to unload at location X:Y
Could be Bunker B or C or D.
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice
I've just tested the Order With no Target for unloading bunker and it woks perfectly. My suggestion is to check whether the unit that you issue order to is indeed a bunker. It's not clear what "Building" is from your screenshot, but "Attacking Unit" does not look like a bunker at all, as the bunker itself does not attack (unless you've changed it).You can kind of debug it using "Text Message" with "Name of Unit Type" just to be sure.
It works just with using order with no target. I had to target the bunker, not the individual units. Building ended up not being a bunker, after fixing it everything worked fine. Thanks for the help!