Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
WallyJas

Undercover AI driver avoids enemy

Recommended Posts

Guys,

I have an AI driver of a jeep and I have set him as captive and given him careless behaviour, however if he drives close to any enemy he shits himself and tries to avoid them. He drives all over the place and he usually gets stuck on a building or object.

Is there anyway I can set him to drive as normal even when around enemy?

Edited by WallyJas

Share this post


Link to post
Share on other sites

Yep, I had this problem in my first game movie :D

CIVILIAN setFriend [EAST, 1];
EAST setFriend [CIVILIAN, 1];

Replace EAST and/or CIVILIAN as appropriate to your AI's.

More info here:

http://community.bistudio.com/wiki/Side_relations

http://community.bistudio.com/wiki/Side

After I did that, I had trouble with my CIV ramming his car into the Opfor truck on the road, a little too friendly......

Share this post


Link to post
Share on other sites

Thanks mate, will this work just for one unit or will this values be for all units in the mission?

Share this post


Link to post
Share on other sites

It is true that this is across the board. I never a found another effective way of making the AI not be scared, if you need it for a specific unit only.

Share this post


Link to post
Share on other sites

Or just use a non-civilian guerrillas and set them friendly to everyone. There are some that sort of look like civilians.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×