Hi! I've been searching forever for a way to solve my problem, but seeing I cant find a way I've decided to post my problem.
My problem in question is with interactions between events. But not common events (meaning in my case checking for collisions between coordinates wouldnt work). I am currently working with YEP_EventSpawner. In my game there are enemies (not spawned, just copied over and over) that approach the player, and the player has a weapon that creates a barrier in the floor that pushes the enemies away (modifying the movement route). The barrier itself is a spawned object, and when anyone touches it three times it fades away. My current problem is that i cant find a way to make the enemies interact with the barrier. I mean to have multiple barriers and multiple enemies touching them, but at this moment the only one who can interact is the player. The number of enemies and barries is why I said before that coordinate checking is out of the question.
I think that because the barrier is an spawned event, and there can be multiple ones with the same ID and template name the coordinates may result in multiple enemies being recognised as "colliding" even though only one of them is touching, and the number of enemies is rounding the hundreds. I dont think is impossible, but i really dont know how to optimise it so that i can apply it to every enemy
Does anyone know of a plugin or a way of solving it?
My problem in question is with interactions between events. But not common events (meaning in my case checking for collisions between coordinates wouldnt work). I am currently working with YEP_EventSpawner. In my game there are enemies (not spawned, just copied over and over) that approach the player, and the player has a weapon that creates a barrier in the floor that pushes the enemies away (modifying the movement route). The barrier itself is a spawned object, and when anyone touches it three times it fades away. My current problem is that i cant find a way to make the enemies interact with the barrier. I mean to have multiple barriers and multiple enemies touching them, but at this moment the only one who can interact is the player. The number of enemies and barries is why I said before that coordinate checking is out of the question.
I think that because the barrier is an spawned event, and there can be multiple ones with the same ID and template name the coordinates may result in multiple enemies being recognised as "colliding" even though only one of them is touching, and the number of enemies is rounding the hundreds. I dont think is impossible, but i really dont know how to optimise it so that i can apply it to every enemy
Does anyone know of a plugin or a way of solving it?