I added a custom air unit to my game which from some reason sometimes get damaged while moving or while moving over buildings (I'm not sure) without encounter any units. I have no idea why it is happening and I will be very glad if someone will be able to tell me...
What kind of behaviors and abilities does the unit have? Is it part of some trigger?
Can't really think of what that might be, maybe with more information
Usually what I do when something is critically messed up like this and I simply cannot find a solution is I recreate the unit. Usually solves the problem, but like LordJaraxx said, just check through the behaviours of the unit you are having problems with, as well as the behaviours of the units it is passing over. In addition to that, check to see if it is attacking or anything, because perhaps it is attacking itself. At the same time something else may also be attacking it.
I can't believe it, it really was because some "collision check" behavior that was on the unit and caused this.
Thank you so much guys, you really really helped me! (-:
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I added a custom air unit to my game which from some reason sometimes get damaged while moving or while moving over buildings (I'm not sure) without encounter any units. I have no idea why it is happening and I will be very glad if someone will be able to tell me...
What kind of behaviors and abilities does the unit have? Is it part of some trigger? Can't really think of what that might be, maybe with more information
Usually what I do when something is critically messed up like this and I simply cannot find a solution is I recreate the unit. Usually solves the problem, but like LordJaraxx said, just check through the behaviours of the unit you are having problems with, as well as the behaviours of the units it is passing over. In addition to that, check to see if it is attacking or anything, because perhaps it is attacking itself. At the same time something else may also be attacking it.
Does it do splash damage?
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 can't believe it, it really was because some "collision check" behavior that was on the unit and caused this. Thank you so much guys, you really really helped me! (-: