Power Toggle SW
Okay, I have a working power toggle SW. It toggles base power just as it is supposed to. There's just one problem. If you ever click on anything but a building with it (like the ground) then it will give an IE. Is there any way to prevent it from targeting the ground?
EDIT: Okay, after a bit of testing, it seems that you can click on units or infantry with no error (but no effect). It's just the ground that causes the IE. I'm going to test it on overlays and terraintypes (read: trees) next.
EDIT THE SECOND: Overlays (like walls) cause IEs, TerrainTypes (like trees or ore mines) do not, surprizingly.
|