Jump to content
Breau.P

Sector Control Spawning

Recommended Posts

I have a little sector control map, basically got those triggers down on the sector where Charlie is the name of my sector and respawnCharlie is the name of my respawn marker.

 

So what happens when a side capture a sector, I want them to respawn to the point they own. It works except when for example West capture the point Independent still able to spawn at that point, like it's not trasnfering completely. 

 

Any ideas ? 

 

Code below for both markers, both of them are repeatable. no type and no activation on the dropdowns. 

 

 

Independent:


Condition: (Charlie getVariable "owner") == independent

Activation: respawnC = [independent, "respawnCharlie"] call BIS_fnc_addRespawnPosition;

Bluefor

Condition: (Charlie getVariable "owner") == west

Activation: respawnC = [west, "respawnCharlie"] call BIS_fnc_addRespawnPosition;

Share this post


Link to post
Share on other sites

thanks I added respawnC call BIS_fnc_removeRespawnPosition; before my respawnC = [west, "respawnCharlie"] call BIS_fnc_addRespawnPosition; and it worked.

 

Thanks for the help

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

×