• All, Gmail is currently rejecting messages from my host. I have a ticket in process, but it may take some time to resolve. Until further notice, do NOT use Gmail for your accounts. You will be unable to receive confirmations and two factor messages to login.

Solved STRANGE BEHAVIOR OF ENEMIES

Question that is answered or resolved.

kdo

Member
Hello everyone, I noticed that when the player is executing an animation that doesn't have a hit box, the enemies walk towards the left side of the scene as if they were chasing the player.

This is very strange, there is no entity spawned there.

This started after I drastically reduced the size of the scene.

I don't understand what is happening.

Help me please ...:giggle:
 
I'm having the same issue and it's pretty extreme. The enemies walk to the upper left corner of the play area. I understand the enemies not attacking a player when there's no bbox, but walking to the corner?

Check out this video for an example. Notice how at 00:30, after the player has regained the bbox, the enemies don't snap out their trance. Then it gets worse, at 00:40 a new enemy is spawned and he goes straight to the corner.


I have no idea about what's causing this and how to solve it. It only happens in this scene and then in a later stage in the game. The unique thing about these stages is that this one is surrounded by two holes (each side of the carriage), and the other stage the characters are on a wall. Would that be the cause? Very weird.
 
I'm having the same issue and it's pretty extreme. The enemies walk to the upper left corner of the play area. I understand the enemies not attacking a player when there's no bbox, but walking to the corner?

Check out this video for an example. Notice how at 00:30, after the player has regained the bbox, the enemies don't snap out their trance. Then it gets worse, at 00:40 a new enemy is spawned and he goes straight to the corner.


I have no idea about what's causing this and how to solve it. It only happens in this scene and then in a later stage in the game. The unique thing about these stages is that this one is surrounded by two holes (each side of the carriage), and the other stage the characters are on a wall. Would that be the cause? Very weird.
It's really strange, in your video enemies act like they are focusing on a target. I tried to replicate it by putting two holes in both sides of the screen but the issue didn't happen in my game.

Some time ago I had a similar issue when I placed npc entities as decoration making enemies to chase them, but fixed it using strealth property in some of them and custom type in others.
 
It's really strange, in your video enemies act like they are focusing on a target. I tried to replicate it by putting two holes in both sides of the screen but the issue didn't happen in my game.

Some time ago I had a similar issue when I placed npc entities as decoration making enemies to chase them, but fixed it using strealth property in some of them and custom type in others.
Thanks Kratus. Your advice is sound, though it didn't apply to my case. I even removed all decorations and entities that were not enemies, also got rid of holes, nothing worked.

but...

I FOUND THE CULPRIT!!!

I had a random

Code:
at 0

within the first enemy group. That threw the whole stage out of whack. Upon deleting it, the issue dissappeared. I have no clue why that mistake caused that effect, but doesn't matter. Issue is fixed, and I'm happy.

Thanks again!
 
Back
Top Bottom