Quote:
Originally Posted by Oscarmike247
V16 should be the helper. V17 is the actual counter displayed to the player.
Im not where i can test this at the moment, but wouldnt v17 continue to climb as soon as v16 is gt 1? So if you get one kill, the counter (v17) would just keep increasing every second.
|
No v17 won't keep counting, I think the reason is piskills is an action not a condition.
Also your difficulty script looks like it only counts upwards.
Try this to lower the difficulty one level below the current one on death.
Code:
if piskills(v16) then
add(v16, 1)
if gt(v16, 1) then
add(v17, 1) ; helper display kills
add(v19, 1) ; helper difficulty
end
endif
if not ssnalive(10000) then
if le(v18, 1) then
set(v19, 0)
end
if eq(v18,2) then
set(v19, 5)
end
if eq(v18,3) then
set(v19, 10)
end
else
if eq(v14,1) and lt(v19, 5) then
rain(60)
gsetaccuracy 8,65
set(v59, 9)
set(v18, 0)
end
if eq(v14,1) and ge(v19, 5) and lt(v19, 10) then
rain(60)
gsetaccuracy 8,75
set(v59, 8)
set(v18, 1)
end
if eq(v14,1) and ge(v19, 10) and lt(v19, 15) and elapse(3) then
rain(75)
gsetaccuracy 8,85
set(v59, 7)
set(v18, 2)
ammoarea(Ammo_60mm_mortar, 8)
end
if eq(v14,1) and ge(v19, 15) and elapse(1) then
rain(100)
gsetaccuracy 8,100
set(v59, 6)
set(v18, 3)
ammoarea(Ammo_60mm_mortar, 8)
ammoarea(Ammo_60mm_mortar, 8)
end
end
endif