- Aug 28, 2008
- 164
- 0
- 42
we have been working on a killcount npc using the qfunction but cannot get it to work at all as after a login it will not load the killcount file , anyways here is teh script that we are using at the mo, any help would be appreciated 
Qfunction:
[@onkillmob(deer)]
#ACT
CalcVar Human KillCount + 1
SaveVar Human KillCount Integral.txt
BREAK
Qmanage:
[@login]
#IF
#ACT
Var Integer Human KillCount 0
LoadVar Human KillCount Integral.txt
NPC:
You have killed <$Human(KillCount)>
the npc works untill logoff then the count is reset, we got teh idea from Preachers post earlier about a killcount quest NPC and have tried to put it into a continious killcount for each mob, but like I said we are having no luck at all, any help would be appreciated.
Thankyou
/Lordatrox
Qfunction:
[@onkillmob(deer)]
#ACT
CalcVar Human KillCount + 1
SaveVar Human KillCount Integral.txt
BREAK
Qmanage:
[@login]
#IF
#ACT
Var Integer Human KillCount 0
LoadVar Human KillCount Integral.txt
NPC:
You have killed <$Human(KillCount)>
the npc works untill logoff then the count is reset, we got teh idea from Preachers post earlier about a killcount quest NPC and have tried to put it into a continious killcount for each mob, but like I said we are having no luck at all, any help would be appreciated.
Thankyou
/Lordatrox
