Jump to content
Sign in to follow this  
xmaster187x

Dynamic re-spawn based on areas held

Recommended Posts

First of all I'd like to say I'm new to the forums and hi to all!

I'm trying to setup a dynamic re-spawn menu based on areas held. I've setup a marker that will change color base on the team that holds it and two separate triggers for the different teams. The triggers delete existing re-spawn marker and creates a new re-spawn marker based on which team holds the area.

TRIGGER ON ACT.

"1" setMarkerColor "ColorBlue"; 
hint "AREA 1 is controlled by BLUFOR!"; 
deleteMarker "respawn_east"; 
markerstr = createMarker ["respawn_west", [1897, 5737]];

and the second trigger would be opposite as far as color, BLUFOR-OPFOR and EAST-WEST.

HERE IS MY DESCRIPTION.EXT:

respawn = base;
respawndelay = 3;
respawnTemplates[] = {"Counter","MenuPosition"};

This works well for the first five deaths or so but after that I get this error and it automatically re-spawns me at the last spawn point I selected:

'...ions);
if (str _respawnPositions == str |#|BIS_fnc_respawnMenuPosition_positions) e...'
Error Undefined variable in expression: bis_fnc_respawnmenuposition_positions
File A3\functions_f\respawn\fn_respawnMenuPosition.sqf, line 134

I am somewhat new to scripting so if I left anything out that may be useful please let me know

Thanks in advance for the help!

Share this post


Link to post
Share on other sites

Hi,

it seems you're running default build. This issue is already fixed in dev branch and will very soon appear in your build as well.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×