mob
NPC2/Death
icon='person.dmi'
icon_state="reaper"
density=1
DblClick()
set src in view(1)
if(!dead)
usr<<"<b>I'll kill you because im mean."
flick("death",usr)
usr.icon_state="dead"
dead=1
density=0
else
usr<<"<b>I already killed you, go away."
NPC2/Angel
icon='person.dmi'
icon_state="angel"
density=1
DblClick()
set src in oview(1)
if(!dead)
usr<<"<b>I'll cure you because ur dead."
usr.icon_state="player"
dead=0
density=1
else
usr<<"<b>You don't need curing because ur alive."
mob
var
dead = 0
ID:269206
Apr 8 2005, 3:55 pm
|
|
well, i have
|
Apr 8 2005, 4:00 pm
|
|
You need to tell DM what mob's dead var you want to change. In Dbl/Click() you can use usr safely. So replace all "dead"s with "usr.dead".
|
In response to Artekia
|
|
omg.. cant beleive i missed that! thanks alot man!!:)
|