NPC Help

Play Now

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
Lo again guys,
Im making a quest but im wondering how I should do it.

Basically I want to set up a quest where when you tele on a map. You instantly get given 3 deers. If all 3 deers survive once u have got to the other side of the map then u win something.
If you fail then u loose obv.
Any idea how I would set this up?

Also I will need another NPC on the map you get teleported on to check if you still have the 3 pets.

Cheers in advance
 

MrsMir

Dedicated Member
Dedicated Member
Mar 17, 2009
80
0
33
¿
I remember this quest on Project69. People used to rest the sheep and run to other side then unrest them lol.
 
Upvote 0

^G0trex

Golden Oldie
Golden Oldie
Nov 7, 2003
1,946
28
135
Bham
Lo again guys,
Im making a quest but im wondering how I should do it.

Basically I want to set up a quest where when you tele on a map. You instantly get given 3 deers. If all 3 deers survive once u have got to the other side of the map then u win something.
If you fail then u loose obv.
Any idea how I would set this up?

Also I will need another NPC on the map you get teleported on to check if you still have the 3 pets.

Cheers in advance

Yeh wot's gonna stop em from resting lol?

if you still want the script i'll do it...
 
Upvote 0

12345678

Dedicated Member
Dedicated Member
Sep 1, 2004
163
0
42
Best way to stop them resting them, is by having 2min r/s thru the map with low amount of mobs, so it wud die if unrested.

and to check u have pets use this command.

#IF
CHECKSLAVENAME Yob = 3
#SAY
Well done nob ed
 
Upvote 0

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
NPC1-BW:
Code:
[@main]
#IF
CHECKHUM <Mapname> 1
#SAY
There is already someone attempting the quest. \
Come back later. \ \
<Exit/@exit>
#ELSESAY
Are you ready to protect your Deer!? \ \
<Yes/@quest> || <No/@exit>

[@quest]
#IF
CHECKSLAVECOUNT > 0
#SAY
You cannot have any pets. \ \
<Exit/@exit>
#ELSEACT
RECALLMOB Deer 3 12 0 0
GIVE TownTeleport
timerecall 10
MAPMOVE <Mapname> <x> <y>

NPC2-QuestCave:
Code:
[@main]
#IF
CHECKSLAVECOUNT = 3
#SAY
Congratulations you kept your deer alive! \ \
<Thanks/@exit>
#ACT
GIVE <Prize> 1
MAPMOVE 0 334 266
SET [500] 1
BREAKTIMERECALL
#ELSESAY
You didn't keep all the deer alive! Better luck next time. \ \
<Exit/@exit>
#ELSEACT
MAPMOVE 0 334 266
BREAKTIMERECALL

Should be right, did put it together pretty quickly though so might be a bug or two. Obviously you need to add in your quest map name and prize etc.

Hope that helps.

p
 
Last edited:
Upvote 0