obj
NPC
Tutorial1
icon = 'i.dmi'
icon_state = "Tutorial man"
density = 1
Click()
set src in view(1)
switch(alert(usr,"So, you want to come into the city of XI?"," ","Yes","No "))
if("Yes")
usr<<"Man:Well, the city of XI is very dangerous."
sleep(50)
usr<<"Man:I mean with all the gangs,thieves, and such."
sleep(50)
usr<<"Man:But if you want to go, let me teach you everything you need to know."
sleep(60)
usr<<"Man:I can see that gun in your pocket,equip it quick. I'll show you how to use that gun."
sleep(70)
usr<<"Man:Well I will now let you go shoot down some targets, when you are ready, you will goto my brother, to shoot CLICK on the map where you want to shoot."
usr.loc = locate(100,100,1)
if("No")
usr<<"Man:Than leave me be."
ALSO
obj
NPC
Tutorial1
icon = 'i.dmi'
icon_state = "Tutorial man"
density = 1
verb/talk()
set src in view(1)
switch(alert(usr,"So, you want to come into the city of XI?"," ","Yes","No "))
if("Yes")
usr<<"Man:Well, the city of XI is very dangerous."
sleep(50)
usr<<"Man:I mean with all the gangs,thieves, and such."
sleep(50)
usr<<"Man:But if you want to go, let me teach you everything you need to know."
sleep(60)
usr<<"Man:I can see that gun in your pocket,equip it quick. I'll show you how to use that gun."
sleep(70)
usr<<"Man:Well I will now let you go shoot down some targets, when you are ready, you will goto my brother, to shoot CLICK on the map where you want to shoot."
usr.loc = locate(100,100,1)
if("No")
usr<<"Man:Than leave me be."
ALSO
obj
NPC
Tutorial1
icon = 'i.dmi'
icon_state = "Tutorial man"
density = 1
DblClick()
set src in view(1)
switch(alert(usr,"So, you want to come into the city of XI?"," ","Yes","No "))
if("Yes")
usr<<"Man:Well, the city of XI is very dangerous."
sleep(50)
usr<<"Man:I mean with all the gangs,thieves, and such."
sleep(50)
usr<<"Man:But if you want to go, let me teach you everything you need to know."
sleep(60)
usr<<"Man:I can see that gun in your pocket,equip it quick. I'll show you how to use that gun."
sleep(70)
usr<<"Man:Well I will now let you go shoot down some targets, when you are ready, you will goto my brother, to shoot CLICK on the map where you want to shoot."
usr.loc = locate(100,100,1)
if("No")
usr<<"Man:Than leave me be."
Problem description:
Well I am working on my game and need it so you can talk to the tutorial NPC's, I dont see ANY bugs in the coding yet if its a verb for tutorial 1 and 2 and i have set view 1 i can talk to them from 10000000000000 miles away, and it says its a duplicate definition, I tried clicking but it just shoots them....
THE ALSO's arent inside the coding, i just showed it their for exaple ;D (and i only have 1 tutorial 1)
-----------------------------------------------------
F
Fl
Fla
Flam
Flame
Flame G
Flame Gu
Flame Gua
Flame Guar
Flame Guard
Flame Guardi
Flame Guardia
Flame Guardian