ive gotten it so my code only has 1 issue and thats the fact that it cant recognize what it means when im trying to define what the kill count is at teh top. idk what to do. my game tells me the region could not be found.
also i want to make it so when a player get awarded their next rank, it broadcasts out to everyone... but im pretty sure that if i just add a broadcast now... it would send it every time they died...
adding onto them dying... idk if there is a better way to trigger all of this... since its "on death" the more power you get as teh game goes on.... the less you die so you might have the kills but not the rank to go with it...
please help....
on death:
set {_kills} to "{kills.%player%}"
if {_kills} is between 0 and 9:
execute console command "lp user %victim% parent set novice"
else if {_kills} is between 10 and 49:
execute console command "lp user %victim% parent set recruit"
else if {_kills} is between 50 and 99:
execute console command "lp user %victim% parent set fighter"
else if {_kills} is between 100 and 199:
execute console command "lp user %victim% parent set warrior"
else if {_kills} is between 200 and 399:
execute console command "lp user %victim% parent set champion"
else if {_kills} is between 400 and 699:
execute console command "lp user %victim% parent set hero"
else if {_kills} is between 700 and 999:
execute console command "lp user %victim% parent set legend"
else if {_kills} is between 1000 and 1499:
execute console command "lp user %victim% parent set mythic"
else if {_kills} is between 1500 and 2499:
execute console command "lp user %victim% parent set immortal"
else if {_kills} is greater than 2499:
execute console command "lp user %victim% parent set godlike"
also i want to make it so when a player get awarded their next rank, it broadcasts out to everyone... but im pretty sure that if i just add a broadcast now... it would send it every time they died...
adding onto them dying... idk if there is a better way to trigger all of this... since its "on death" the more power you get as teh game goes on.... the less you die so you might have the kills but not the rank to go with it...
please help....
on death:
set {_kills} to "{kills.%player%}"
if {_kills} is between 0 and 9:
execute console command "lp user %victim% parent set novice"
else if {_kills} is between 10 and 49:
execute console command "lp user %victim% parent set recruit"
else if {_kills} is between 50 and 99:
execute console command "lp user %victim% parent set fighter"
else if {_kills} is between 100 and 199:
execute console command "lp user %victim% parent set warrior"
else if {_kills} is between 200 and 399:
execute console command "lp user %victim% parent set champion"
else if {_kills} is between 400 and 699:
execute console command "lp user %victim% parent set hero"
else if {_kills} is between 700 and 999:
execute console command "lp user %victim% parent set legend"
else if {_kills} is between 1000 and 1499:
execute console command "lp user %victim% parent set mythic"
else if {_kills} is between 1500 and 2499:
execute console command "lp user %victim% parent set immortal"
else if {_kills} is greater than 2499:
execute console command "lp user %victim% parent set godlike"