616
Resolved Questions / Detecting Scene regions for Actors [solved]
« on: December 30, 2014, 09:20:17 am »
I have created a small region in my scene called 'Bridge Region', when my Player Actor moves into this scene I having debugging to Print 'here' so I know he has been detected.
I am having trouble figuring out how to detect regions from outside the Scene coding though. For example:
I have a few enemy actors set to a 'Follow Target' behaviour, but I'm only wanting this to active when the Player Actor steps into a certain region. How would I go about this without setting up a global variable to pass between Scene / Actors. (I wish I could just use global behaviours everywhere!!)
Thanks
I am having trouble figuring out how to detect regions from outside the Scene coding though. For example:
I have a few enemy actors set to a 'Follow Target' behaviour, but I'm only wanting this to active when the Player Actor steps into a certain region. How would I go about this without setting up a global variable to pass between Scene / Actors. (I wish I could just use global behaviours everywhere!!)
Thanks