Static Spawn Location Accuracy

Rossymond

Moderator
Staff member
Hi guys, having an issue with static spawns

They always spawn 40-50 metres out the way. Is this setMarkerSize that's the issue?

My marker data

_this = createMarker ["SAR_area_admin", [6515.52, 5598.97]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [50, 50];
SAR_marker_zub1 = _this;

Does this give them a 50m spawn radius?

Worth noting i'm spawning them in to protect a survivor encampment, will the proximity of buildings make a difference?

Thanks :)
 
reduce the marker size. The AI is spawned in a random position within that area. So for your example, they will spawn SOMEWHERE in a 100x100m rectangle.

Building proximity only makes a difference if they get into combat, they are trying to get cover then.

Sarge
 
Thats great i'll make it 1x1 then!

Thought it must be that, but ran out of time.

Thansk sarge!
 
Back
Top