Disable humanity

d0nny94

New Member
hi i made a pvp arena in my server so on spawn u get the option to teleport there on spawn but players are avoiding going there because the effect it has on humanity i was wondering if there is a way to disable the humanity feature while-st in the arena i run a epoch server if this changes anything

thx d0nny94
 
hi i made a pvp arena in my server so on spawn u get the option to teleport there on spawn but players are avoiding going there because the effect it has on humanity i was wondering if there is a way to disable the humanity feature while-st in the arena i run a epoch server if this changes anything

thx d0nny94

Hm, not sure. You would have to set up a sensor in that area, and then have it read for the players humanity upon entrance, then when they leave have it set their humanity back to what it was originally. I am nowhere near pro enough to tackle this but I could try to throw something together
 
I havn't the slighest clue if this will work or not, but place the sensor (worldspace being XZY and the location of your arena (database gives worldspace in XYZ so format accordingly)) then just place reset.sqf wherever (changing the filepath as necessary)

DOWNLOAD WIP RESET.SQF HERE
 
hi thx for the help am i right in saying this will only reset your humanity if u run out of the arena? i got the arena on a scroll mouse so when u spawn you get a option to teleport to pvp arena and it is an inclosed area but i understand your script a bit so would it work if when u get click teleport to arena it gets your humanity and it loops setting it to what it was when u teled ? my ip is 85.190.132.217:2302 to the server if u want to try it

thanks for all the help :)
 
hi thx for the help am i right in saying this will only reset your humanity if u run out of the arena? i got the arena on a scroll mouse so when u spawn you get a option to teleport to pvp arena and it is an inclosed area but i understand your script a bit so would it work if when u get click teleport to arena it gets your humanity and it loops setting it to what it was when u teled ? my ip is 85.190.132.217:2302 to the server if u want to try it

thanks for all the help :)

That is what it SHOULD do. SHOULD. xD
 
ok kool thx i got it all on the server just waiting for a mate to come online and test it comes up saying
Welcome to the PVP zone, enjoy your execution
when i join so its enabled :)
 
I havn't the slighest clue if this will work or not, but place the sensor (worldspace being XZY and the location of your arena (database gives worldspace in XYZ so format accordingly)) then just place reset.sqf wherever (changing the filepath as necessary)

DOWNLOAD WIP RESET.SQF HERE


hmmm ok this dont work :(
it does say u have entered and you have left but it dosent effect humanity
even if u kill some 1 run out of zone and relog u still have your humanity u had when u killed them
umm what if we got a sqf file that gets executed when u click tele to pvp arena that gets your humanity after u get teled and loops seting it every secound ? would that work or is it an issue not getting saved to database ?

thanks for all the help and also i made a thread about a noz script that i need a help with if u have any ideas :) thx
 
hmmm ok this dont work :(
it does say u have entered and you have left but it dosent effect humanity
even if u kill some 1 run out of zone and relog u still have your humanity u had when u killed them
umm what if we got a sqf file that gets executed when u click tele to pvp arena that gets your humanity after u get teled and loops seting it every secound ? would that work or is it an issue not getting saved to database ?

thanks for all the help and also i made a thread about a noz script that i need a help with if u have any ideas :) thx

I have no other ideas of how to go about this, so maybe someone else will tackle it
 
Back
Top