ID:179488
Dec 17 2001, 5:11 am
|
|
Is their a Tutorial or Demo or something that will show me how to ... i don't know how to explane it. Heres an example : You get killed and have to go to the otherworld. I want to know how to send my icon to the otherworld when the user dies.
|
Dec 17 2001, 9:20 am
|
|
Look for the Teleport! demo by Lord of Water.
|
In response to Nadrew
|
|
mob/verb/Attack()//This makes it so you can attack any mob within one tile of you
set src in oview(1) var/damage=usr.Force//This makes a damage var if(src==usr) Health -= damage //take away the damage from M deathcheck() //check for death with a proc ..() else src<<"[usr] has attacked you" usr<<"You Attacked [src]"//this outputs a certain msg src.Health-=damage//This takes the amount that the damage var equals from M's health anger+=1 usr.Exp+=10 usr.Statup+=1 if(src.Health<=0) src.Health=src.MAXHealth src.loc=locate(1,1,2)//Change these numbers to the location you want the defeated person to go after he/she dies Levelup()//This calls the Levelup proc as defined in the other file Statup() thats an example <font color="red"> Super saiyan3 |
In response to Super saiyan3
|
|
Good example...from my leveling system.
|
In response to Super saiyan3
|
|
Thanks :)
|
In response to Nadrew
|
|
lol, yeah; i like your leveling system i base my games around it.
<font color="red"> Super saiyan3 |
Shadowalker wrote:
I want to know how to send my icon to the otherworld when the user dies. Just a little clarification: You want to send the mob to the underworld, not just the icon. Try not to think of game objects as just an icon or it may lead to confusion when you ask more complex questions. |