Jump to content
Sign in to follow this  
Kerry

Civilian carbombs(not so careless)

Recommended Posts

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

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

<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

Hulking do i just put that into the init field?

Share this post


Link to post
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×