mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Make SpawnPoint on Player Pos
- More accurate to define for Players (bugging through a wall and falling down or hanging stuck in a corner)
This commit is contained in:
parent
7b2c20ac57
commit
dffe73afa8
@ -120,7 +120,7 @@ if (!isNull _player) then {
|
||||
_location = getMarkerPos "respawn_west";
|
||||
_location set[2, 0];
|
||||
if (_newLocation isEqualType [] && {(count _newLocation) == 3}) then {
|
||||
_jammers = nearestObjects[_newLocation, ["PlotPole_EPOCH"], 1];
|
||||
_jammers = nearestObjects[_newLocation, ["PlotPole_EPOCH"], 6];
|
||||
if !(_jammers isEqualTo[]) then {
|
||||
// get nearby object
|
||||
_jammer = _jammers param [0,objNull];
|
||||
|
Loading…
Reference in New Issue
Block a user