PaiNx 0 Posted February 10, 2003 I was wondering if there is a way around the captives clipping error when placed inside buildings. I setup the soliders as captives, and then when a trigger is set off they become uncaptive and run away. The only thing wrong is that they run through the side of the building, but not the doorway. I notice there is alot of clipping problems when the AI moves around buildings and such. I hope I made some sense of this. I did a search, but found nothing on this subject. If there is then please post a link to the discussion. Thanx Share this post Link to post Share on other sites
iNeo 0 Posted February 10, 2003 I'm currently making a hostage rescue mission, where I have 2 captive units inside a house (plus a number of bad guys). All units mentioned so far are AI controlled. When the conditions to free the captives are met, I let the mission run a little script I made which makes them not captive, it moves them outside the house, etc. I made this because I had a version of your problem; they wouldn't leave the house at all. You can use the following code snippet to move a unit to a marker: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">captiveGuy1 setpos (getmarkerpos "outsideHousemarker1")<span id='postcolor'> Neo Share this post Link to post Share on other sites