Hi, ive been playing Arma 2 (Dayz Epoch) for about 1200 hours now, and recently i have started to develop a server for Epoch 1061. The server is near completion and is only missing a few small scripts and some touchups here and there.
One script that I need to add is giving me a hard time...
On the server i have a custom Skalisty Island mission in which AI,M2's, etc spawn, loot crates are on the island etc.
Now, i dont want players to be able to log off on Skalisty island. I know i cant stop people from Alt-F4ing on it, so my plan is to deter/punish them for doing so.
The only script i could adapt/find was one that forced playes to spawn somewhere else when they logged into the server in an area where they "arent allowed" to log out , but this script requires me to add every single 6 figure grid co-ord manually into the script.
Since i would like to punish people for logging out in othet areas too,i was hoping if someone could provide a smaller script for this. I can adapt it to the desired punishment. All i would like is a script that punishes a player for logging out within a certain distance (or radius) etc from a set point.
My psuedocode explaination is:
If (player IN zone) then
*relevant punishment*
With "player" being the player and "zone" being the area/radius in which the player isnt allowed to log out in
Sorry for the long winded request,
Regards, Gooooose
One script that I need to add is giving me a hard time...
On the server i have a custom Skalisty Island mission in which AI,M2's, etc spawn, loot crates are on the island etc.
Now, i dont want players to be able to log off on Skalisty island. I know i cant stop people from Alt-F4ing on it, so my plan is to deter/punish them for doing so.
The only script i could adapt/find was one that forced playes to spawn somewhere else when they logged into the server in an area where they "arent allowed" to log out , but this script requires me to add every single 6 figure grid co-ord manually into the script.
Since i would like to punish people for logging out in othet areas too,i was hoping if someone could provide a smaller script for this. I can adapt it to the desired punishment. All i would like is a script that punishes a player for logging out within a certain distance (or radius) etc from a set point.
My psuedocode explaination is:
If (player IN zone) then
*relevant punishment*
With "player" being the player and "zone" being the area/radius in which the player isnt allowed to log out in
Sorry for the long winded request,
Regards, Gooooose