Skip to content

Enemy free "SafeZone"? #1330

Mar 12, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You can place a marker on the map where you want your base, give it a variable name (I use "player_base".

Then go into the mission folder, core > fnc > city > init.sqf.

On line 66 you should see this;

​        ​/*
​        //if you want a safe area
​        if ((getMarkerPos "YOUR_MARKER_AREA") inArea [_position, 500, 500, 0, false]) exitWith {};
​        ​*/

Change to:

​        
​        //if you want a safe area
​        if ((getMarkerPos "player_base") inArea [_position, 500, 500, 0, false]) exitWith {};

The 500's represent the distance, so you can change those to adjust the size of no spawn zone.

Hope this helps, replying from my phone so idk how the formatting will look lol
​        ​

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Vdauphin
Comment options

Answer selected by CALADARI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants