- Joined
- Jul 22, 2021
- Messages
- 65
Hello,
So I'm making this map that is at the moment at somewhat advanced stages of development. Some experience-breaking bugs started to occur.
First problems appeared when I changed a model for the unit (and created a new unit, then replaced it in triggers), then when this unit was ordered to go to a certain region it suddenly, about halfway, decided to turn back to the original location. It was not so far from another unit's original spawn if it makes any sense. The same thing was happening when I changed regions.
There was NOTHING in triggers related to the event of the unit going back out of nowhere.
I managed to fix the issue by using a different base unit.
But when I wanted to replace another unit model, same thing happened for THAT unit, although replacing base unit didn't worked this time.
Today I playtested the "working" version of the map and it has the same bug again. It occurs randomly, I guess?
I need your help in recognizing and fixing these problems I feel kinda helpless and disheartened.
UPDATE: Changing the unit's player from "Neutral Passive" to another team color (that is allied with the player's color) seemed to fix this issue for ONE unit but for the OTHER the issue happened at a point I've never seen before (and it's the same type of command with move-to region).
I just wonder why does it happen so randomly?
UPDATE #2: Another thing I noticed is when the first unit is issued Attack-Move To then he goes all the way back to the original spawn location. What the hell?
The workaround for this I see is simply removing the unit and replacing it with its duplicate, but I rather not do this.
UPDATE #3:
Problem fixed. I had to AI - Ignore Unit's guard position & edit Stats - Can Flee - False
www.hiveworkshop.com
So I'm making this map that is at the moment at somewhat advanced stages of development. Some experience-breaking bugs started to occur.
First problems appeared when I changed a model for the unit (and created a new unit, then replaced it in triggers), then when this unit was ordered to go to a certain region it suddenly, about halfway, decided to turn back to the original location. It was not so far from another unit's original spawn if it makes any sense. The same thing was happening when I changed regions.
There was NOTHING in triggers related to the event of the unit going back out of nowhere.
I managed to fix the issue by using a different base unit.
But when I wanted to replace another unit model, same thing happened for THAT unit, although replacing base unit didn't worked this time.
Today I playtested the "working" version of the map and it has the same bug again. It occurs randomly, I guess?
I need your help in recognizing and fixing these problems I feel kinda helpless and disheartened.
UPDATE: Changing the unit's player from "Neutral Passive" to another team color (that is allied with the player's color) seemed to fix this issue for ONE unit but for the OTHER the issue happened at a point I've never seen before (and it's the same type of command with move-to region).
I just wonder why does it happen so randomly?
UPDATE #2: Another thing I noticed is when the first unit is issued Attack-Move To then he goes all the way back to the original spawn location. What the hell?
The workaround for this I see is simply removing the unit and replacing it with its duplicate, but I rather not do this.
UPDATE #3:
Problem fixed. I had to AI - Ignore Unit's guard position & edit Stats - Can Flee - False
[Solved] - Prevent units back/stop when they are ordered to Attack-Move
How can i prevent units losing agro and backing to region where they are ordered to move-attack? It is not as problematic with units... When it comes to the hero, after he cast a spell, he totally loses mind and stays in place. Red 1 Events Time - Elapsed game time is 180.00 seconds...

Last edited: