It seems that "Anywhere" doesnt work (at least in actions). Since the default deaths of start location is 0, wouldnt running EnableDebugMode() with no death settings create "Location 0"?
Code: Select all
Command(Current Player, At Least, 2, Terran Civilian)
RemoveUnitAtLocation(Current Player, 1, Terran Civilian, Anywhere)
All of my other remove actions use RemoveUnit (which removes all). But this one was the only one that uses RemoveUnitAtLocation and the Anywhere location (I wanted to specify a specific amount of units to remove). And...Its the only remove that fails. Im associating it with the "Anywhere" location for now. Baja's problem with the giving units seems to me also to be caused by this "Anywhere" location.
Its supposed to remove excess commanders. When ur commander dies, you get the unit that the commander requires, so you can respawn him (Supposing you have lives left, which reminds me...My life reducer depends on this Anywhere location too). The build time was long, so ppl could queue multiple commanders.
EDIT: To fix the commander part, Ive decided to make the build time so short no one can click fast enough to make 2. Im going to try using location 0 and see if it works.
EDIT2: Location 0 fails. Could this be fixed? I think the ability to use "Anywhere" is useful. One last try: Making Location 0 cover the whole map.
EDIT3: Doesnt work. Im beginning to suspect the action isnt melee compatible. Also, I used v1
EDIT4: I cant center a location either! Its either "Anywhere" doesnt work. Or centering AND remove unit dont work. This time tested on V2. Im getting frustrated now...
Im using: SC BW 1.15.1 No-CD with FireGraft 0.93b and LocUnlock V2