Spawn location limitation

12 posts in this topic

could be a stupid question but is it possible to make players unable to choose a spawn location near their dead body so for instance they can only select a spawn point more than 3000km away from the place they died? any help much appriciated

Share this post

Link to post

Share on other sites

I suppose the first step you could try is hooking into the ondeath script to get the death location, I would personally then include the logic for determining if a spawn location is nearby in the ondeath script. That way if the death was not near a spawn location, it doesn't need to do anything at all. To find if there are any spawn points near a player (type for spawns in exile is marker), look at https://community.bistudio.com/wiki/nearestObjects
After that, you just need to change the spawn select menu to omit whatever marker was found in the nearestObjects query.

There have been a lot of updates since I messed with arma/exile so I'm really not the guy to do this for you, but I figured I should give input seeing as no one else has really explained a possible approach for you if you want to attempt to code it yourself.

Share this post

Link to post

Share on other sites

the way i would want this to work would be you cant spawn within X distance to your body. when the body despawns which is set by the server so 10-15mins then you can spawn nearby again. the main reason for this is to prevent spawn camping and quick returns when doing missions or tasks near to spawn points

About Exile Arma 3 Mod

It is the year 2039. After the resource depleting conflict in Greece, Europe suffers from a new deflation crisis, leading the crime rate to a new peak in history. Members of the North Atlantic Treaty Organization Security Council are forced to react. Being a desperate alternative to overcrowded and prohibitive prisons, offenders are now being sent to EXILE.