Entity Enters area
Posted: Mon Jun 05, 2017 12:49 am
My search fu is failing me.
I'm trying to find the best way to trigger a function when one entity enters a space. Is the only way to do this through the on_tick event? I'm making a Railroad Tunnel mod, and I need to know when a train gets close to a tunnel. I would prefer not to have to implement my own collision detection algorithm in an effort to reduce computation time.
I'm trying to find the best way to trigger a function when one entity enters a space. Is the only way to do this through the on_tick event? I'm making a Railroad Tunnel mod, and I need to know when a train gets close to a tunnel. I would prefer not to have to implement my own collision detection algorithm in an effort to reduce computation time.