Jump to content
Sign in to follow this  
nuclearwinter76

How to Prevent AI From Spawning in Insurgency

Recommended Posts

Hello, I'm making an Insurgency variant for Chernarus and I've got everything set up properly and ported correctly, but my FOB is on an airfield and the airfield is occupied by Insurgents right off the bat.

What I'm looking for is a script or just any method I could use to prevent the enemies from spawning right on top of the main FOB. A trigger, anything really.

Thanks!

Share this post


Link to post
Share on other sites

So you basically want something to protect the area as that is where your base is at?

You should probably name your thread something else if its not specifically for insurgency.

Share this post


Link to post
Share on other sites

place a repeating trigger, activated by opfor present. with the time interval of your choosing.

place this in on act:

{_x setDammage 1} foreach thisList

this trigger will kill all opfor that comes within the trigger and stay for the time interval you´ve choosen.

Share this post


Link to post
Share on other sites

The right way to do it would be to exclude the area. Of course, also setting up an area protection trigger will keep them from overrunning your base if there are any nearby spawn grids.

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  

×