Jump to content
Sign in to follow this  
dragonsyr

disconnection from server while script running (???)

Recommended Posts

how to prevent this??? (for dedicated server mission)

i have a script that the player can call . The script give waypoints to some preplaced units from editor. What can i use for return the units in initial position if the player disconnected from server???

i think that i want a server side script that monitor somehow the units and if the units is not controled by players , then units back to the place.

i need that also for some global variables (if is nil and the player who make those variables nil (from script) , is not exist then those variables !isnil.)

i hope that you understand what i mean.....

thanks

---------- Post added at 18:37 ---------- Previous post was at 18:28 ----------

when the player is dead the script that use continues , or is like disconnection?????

---------- Post added at 18:49 ---------- Previous post was at 18:37 ----------

with other words....

i m pilot and i call the script that lock a helipad (prevent of use the same helipad other player same time ) and some units move in some waypoints. so far so good.... if i disconnect from server then the units stays in last position , and the helipad is locked forever.

this is the problem i have

Edited by dragonsyr

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  

×