Can someone please tell me theverb for Get()? Im trying to make it so that i can pick up my sword and shield i have on the map but it says that it is undefined prob or verb.. so can anyone please tell me the verb for get.. please and ty
EDIT::Since your gonna look at it anyway.. can someone help me with a code to make it so that enemys attack you back.. and drop an item or gold when killed..
Grim
ID:167090
![]() May 1 2006, 3:24 pm
|
|
Grimson10 wrote:
Can someone please tell me theverb for Get()? Im trying to make it so that i can pick up my sword and shield i have on the map but it says that it is undefined prob or verb.. so can anyone please tell me the verb for get.. please and ty About dropping item/gold after they get killed. You'll need a death check proc, following that obj/gold and obj/whatever_item made, and use proc/Deathproc() if(src.hp <= 0){new /obj/gold(src.loc)} Something like that, but it depends on your code. Check out the tutorials. Zilal's one is a pretty good read. |
Grimson10 wrote:
I already have a good DeathCheck() for my mob, but do i need another one for my monsters too? No. Not at all. Include it under the same DeathCheck() but when your in that, us a simple if() statement to see if the mob has a client. if not, simply delete the mob and create a new one after a while. |
my suggestion is this:
Easy and simple.
After this, go read the DM Guide and look at few tutorials.