#Enemy attacks
12 messages · Page 1 of 1 (latest)
Only 1 enemy works
it also gives me this error if I try to get attacked the second enemy before I get attacked by the first enemy
Yeah, I got told about that, I figured that part out and then I encountered another error that the person that was helping me couldn't solve.
#beginner message
(accidently pressed enter. Deleted message 👆)
Is enemy_attack_range suppose to be a variable in your TileMap or your Enemy?
Actually, it's a variable in my player. (This is why it's in my player)
Ah, it's a boolean okay. Well it looks like somewhere in your code godot is trying to call enemy_attack_range on your TileMap. If it works the first time, and not the second, my guess is somewhere in-between those two, player got set to a TileMap (Hurray for dynamic languages)
👍 I'll take a look at it when I wake up.
Alright, so, progressed a bunch, the video shows how the enemies now freak out all the time and their nav is all messed up while the pictures show an error I get just about every third time I try to get the two enemies to bunch up together (they also deal damage to each other sometimes).