Re: NPC Script Release
ummm the deer quest is being funny i killed 5 deers and it says you have killed 0/5 deers
ummm the deer quest is being funny i killed 5 deers and it says you have killed 0/5 deers
ρяєα¢нєя;631159 said:Kill Count Quest
===========================================================
Then add the map quest in: Envir->MapQuest.txt
Code:[COLOR=Red]0[/COLOR] [101] 1 Deer * DeerQuest
This quest will currently only work when Deers are killed on map number 0 (Bichon Province). To change this to your desired map, edit the highlighted number in the MapQuest script. Alternativly you can add another line and change the map number, and then the script will be triggered when a deer is killed on either of the maps. Obviously you can also change which monster triggers the script by changing the monster name in the MapQuest Script, and then edditing the relivent bits in the main script.
p
is this correct for the prize giving npc or do i need to keep putting #ACT for each item
[@main]
#IF
HOUR 20 21
MIN 1 3
#SAY
You need to wait around 3mins before you can access this NPC.
Exit@exit
#ELSEACT
GOTO @check
[@check]
#IF
CHECKMAPHUMANCOUNT FFA2 = 1
#ACT
GOTO @prize
#ELSESAY
You need to aliminate all the other contestants before you can
access this NPC.
Exit@exit
[@prize]
#IF
#ACT
GIVE FFAArmour(M) 1
GIVE FFARing 1
GIVE FFABrace 1
GIVE FFAHelmet 1
GIVE FFABoots 1
GIVE FFABelt 1
GIVE FFAStone 1
GIVE FFAAmulet 1
GIVE FFANecklace 1
GIVE FFASword 1
Map 0 <---add that
;CalcVar Human FFA + 1
;SaveVar Human FFA Integral.txt
#SAY
Congratulations! You have won today's FFA!
Exit@exit
EDIT:Nevermind tested it and it works but preacher cud u make it so once it gives you the prize it teles you out to bw so people cant just keep getin more and more kit
[@login]
#IF
#ACT
SET [200] 1
Var Integer Global EvoCount 0
LoadVar Global EvoCount Integral.txt
<MapName> [200] 1 <MobName> * Evolution
[@main]
#IF
CheckVar Global EvoCount = 0
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName>1 1 0
CalcVar Global EvoCount + 1
SaveVar Global EvoCount Integral.txt
BREAK
#IF
CheckVar Global EvoCount = 1
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName>2 1 0
CalcVar Global EvoCount + 1
SaveVar Global EvoCount Integral.txt
BREAK
#IF
CheckVar Global EvoCount = 2
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName>3 1 0
CalcVar Global EvoCount + 1
SaveVar Global EvoCount Integral.txt
BREAK
#IF
CheckVar Global EvoCount = 3
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName>4 1 0
CalcVar Global EvoCount + 1
SaveVar Global EvoCount Integral.txt
BREAK
#IF
CheckVar Global EvoCount = 4
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName>5 1 0
CalcVar Global EvoCount = 0
SaveVar Global EvoCount Integral.txt
BREAK
[@main]
#SAY
Are you ready to fight the <MobName>? He will die and rebirth 4 \
times. Each time getting stronger and dropping better! Do you \
think your up to the task <$USERNAME>? \ \
<Yes, lets go!/@move> || <Not yet/@exit>
[@move]
#IF
CheckVar Global EvoCount = 0
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName> 1 0
TIMERECALL 60
MAPMOVE <Mapname> <x> <y>
BREAK
#IF
CheckVar Global EvoCount = 1
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName>1 1 0
TIMERECALL 60
MAPMOVE <Mapname> <x> <y>
BREAK
#IF
CheckVar Global EvoCount = 2
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName>2 1 0
TIMERECALL 60
MAPMOVE <Mapname> <x> <y>
BREAK
#IF
CheckVar Global EvoCount = 3
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName>3 1 0
TIMERECALL 60
MAPMOVE <Mapname> <x> <y>
BREAK
#IF
CheckVar Global EvoCount = 4
#ACT
CLEARMAPMON <MapName>
Param1 <MapName>
Param2 <x>
Param3 <y>
Mongen <MobName>4 1 0
TIMERECALL 60
MAPMOVE <Mapname> <x> <y>
BREAK
Evolution 1: <MobName>
Evolution 2: <MobName>1
Evolution 3: <MobName>2
Evolution 4: <MobName>3
Evolution 5: <MobName>4
Map Name: <MapName>
Mob Name: <MobName>
X Coord: <x>
Y Coord: <y>