Jump to content
Sign in to follow this  
enigma22133

Forcing AI to stay behind cover (they leave despite my efforts and hours of work)

Recommended Posts

I am making a close quarters mission but my AI keep leaving the rooms I place them in (when combat starts). Here is what I've tried so far in the units intilization

this setPosATL (this modelToWorld[0,0,-0]);

this disableAI "TARGET";

this setCombatMode "GREEN";

I cannot use" this disableAI "MOVE" because there are multiple entry points to a room, and that command prevents the ai from simple turning to aim their gun.

I've tried a hold waypoint, and a hold waypoint attached to a trigger. nothing seems to work

I've spent about 5 hours on this now. I have an idea, but I cannot a method of doing it anywhere. My idea is, perhaps there is a way to lock the AI's position. but i cannot discover a method of doing it.

Does anyone have any way to simply prevent an AI from leaving their spawn location?(other than disableAI "move" of course)

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  

×