Jump to content
Sign in to follow this  
UltimateBawb

SafeZone with Markers

Recommended Posts

Is there a way to script a marker zone to make it so that any units besides the units of one faction are killed when they go in?

Share this post


Link to post
Share on other sites

If there is a will there is a way... for the most part...

Create a marker with certain dimensions on the map, then create a trigger with the exact same dimensions of the marker over top of the marker. This is all done on the map screen.

Set the trigger activation to "Anybody" and "Present" and "Repeatedly"

In the condition field put: this

In the activation field put:

while {triggerActivated thisTrigger} do {{if (side _x != resistance) then {_x setDamage 1}} forEach thisList;} 

That's one way to do it, if you want it from a mapscreen perspective. This hasn't been tested. Change resistance to any other side you want (East, West, civilian)

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  

×