Multiple Respawn Points based on Group


Here’s some quick code to give different groups different respawn points.

_respawnLocation = switch (group player) do {
    case yellowGroup: {"yellowspawn"};
    case blueGroup: {"bluespawn"};
};

_respawnMarker = createMarkerLocal ["respawn_west", getMarkerPos _respawnLocation];
_respawnMarker setMarkerShapeLocal "ICON";
_respawnMarker setMarkerTypeLocal "EMPTY";

Comments are closed.