circassian 1 Posted February 21, 2013 Ok guys, I give up. I've tried and searched a lot to know how to make the subject when closing to gate area. useless.. help Share this post Link to post Share on other sites
Lenyoga 326 Posted February 21, 2013 I would suggest using a script-based solution. You can use the "distance" command to determine the distance between the AI unit and the gate (or a game logic object in its relative position, for houses with doors, etc.) and "animationPhase" to find out if the gate is already open, and then "animate" to make the gate do the animation. I'm not sure if it would be easier with the "action" command, but I've always had trouble when using this with the AI. Here's a link to the OFPEC command reference - very, very useful: http://www.ofpec.com/COMREF/ Share this post Link to post Share on other sites