1
Ask a Question / Sentry sees through walls
« on: October 26, 2012, 07:28:15 pm »
Hi, guys. I was recently working on making a customizable behavior that turns any actor the behavior is attached to into a sentry, i.e. it searches for an actor type and triggers an event when it sees the actor type. I've got all the customization and detection down to a tee, except for one problem. I can't figure out how to tell the sentry whether there is a wall between it and the target. In other words, my sentries can see through walls, which can be useful in certain circumstances, but it's not what I'm looking for. Can anyone help with wall detection logic (even if it requires coding)? Thanks in advance.
Happy trails, Flyingninja77
Happy trails, Flyingninja77