Jump to content
Sign in to follow this  
davidoss

local trigger on client disconnect

Recommended Posts

Hi.

I want to ask you guys what happens with client side created local triggers on client disconnect.

Are such trigger stay in game or being removed or they never existing  for a server.

What happens in case client  respawn?

Share this post


Link to post
Share on other sites

Next question. :)

 

Is there any possibility to disable role changing?

How to  force players to disconnect  if they go back to lobby and  want to change client slot?

Share this post


Link to post
Share on other sites

That seems a tough one.

 

It could be done with a combination of handleDisconnect EH + profileNameSpace storing in a variable the vehicleVarName of the unit and the date he disconnected + some checks on initPlayerLocal.sqf (check if no player has the unit with that variable, check if not enough time has passed) + BIS_fnc_endMission locally executed on the client if the conditions are met.

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  

×