NEED HELP! Collision with Enemy.
ReMasteredGames
Member Posts: 101
Hi. So I'm working on a few tests for "Field of Sense". Like a field of vision, it senses when an enemy is nearby, however all around the enemy. I'm doing this by giving the field of sense a physical expression, here is a small video example of what I am doing:
However, I want it set so that if the player is behind a wall, the game will ignore the player. So it is currently set to:
When All of the following are happening: Actor collides with actor of type: Player.
Do: Change Image (RED), Change Attribute Game.Seen to True.
Game.Seen = true will cause the enemy to chase the player. What I want is when the enemy collides with the player AND the wall, it will NOT set Game.Seen to true.
Is there a way to do this? Thank you in advance!
Comments
Still suffering from this issue.
Im sure this wont work the way u want exatcly but try it and teak it maybe it will work xD
In your sight actor
New rule
When all of the following happens
Collide with wall
Collide with player
-do
Set chase to false
rule
Collide with player
-do
Set chase to true
I know it might not be what u want but i tried.