Kerry 0 Posted August 5, 2007 Is there a script or osmthing out there that actually makes the AI civilians ACTUALLY be carless? Because when I put an AI Civilian on careless when hes driving a car, he gets out when first shot is fired, and lays on the floor. =/ btw- I used search! and im sorry for all the question asking in this forum, i just cant help it! Share this post Link to post Share on other sites
weedomatic 0 Posted August 6, 2007 Units' behaviour(-s) are controlled by so called FSM's (finite state models)-files. You will have to program your own FSM or, most likely, use some FSM from other (combat) classes. If you search for posts containing "civilian AND FSM" within the last months, you will at least get multiple hints as where to start/go for your purpose. Share this post Link to post Share on other sites
HulkingUnicorn 0 Posted August 6, 2007 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_man disableAi "target"; _man disableAi "autoTarget"; That should make him worry less about surviving... Share this post Link to post Share on other sites
Kerry 0 Posted August 6, 2007 Hulking do i just put that into the init field? Share this post Link to post Share on other sites
HulkingUnicorn 0 Posted August 6, 2007 You could put it in init field, script, trigger or waypoint. So he can be normal until you want him to be careless and by using enableAi instead of disableAi you can make him go back to normal again. Share this post Link to post Share on other sites