Well that did work, but still, it is weird that beacons some beacons would die and others didn't.
I guess I'll just use that method for now, thanks.
As a side note, to those who are curious, just had to have a point variable added in to get the point of the unit before removing and then creating the unit at that point.
So in my map, I have a bunch of Zerg beacons (small), and I try to replace them with Terran beacons (small).
So the problem is, for some reason, when the Zerg beacon gets replaced with the Terran beacon, the Terran beacon somehow dies, leaving a blank spot.
I changed the Zerg beacons into Probes and Terran beacons into SCVs to check (I wasn't sure if the actual beacon was dying. Never saw a beacon die before). So in this case, some of the SCVs died in this case.
Anybody know what might cause this?
Here is the part of the code that does the replacing.
Well that did work, but still, it is weird that beacons some beacons would die and others didn't. I guess I'll just use that method for now, thanks.
As a side note, to those who are curious, just had to have a point variable added in to get the point of the unit before removing and then creating the unit at that point.
So in my map, I have a bunch of Zerg beacons (small), and I try to replace them with Terran beacons (small). So the problem is, for some reason, when the Zerg beacon gets replaced with the Terran beacon, the Terran beacon somehow dies, leaving a blank spot.
I changed the Zerg beacons into Probes and Terran beacons into SCVs to check (I wasn't sure if the actual beacon was dying. Never saw a beacon die before). So in this case, some of the SCVs died in this case.
Anybody know what might cause this? Here is the part of the code that does the replacing.