ID:270679
![]() Jul 23 2006, 12:44 pm
|
|
How i make a monster drop something when it dies?
|
Crzylme wrote:
Pharaoh Atem wrote: I know, but this code dont works. proc //Some new procs |
I think I know what you want. You want when a monster dies, you get an item? Well Cryzlme is right, a demo search would solve your problem. But the code isn't to hard.
usr.contents+=new/obj/whateveruwantsname
Put this at the monster's death proc. |
DarkD3vil666 wrote:
I think I know what you want. You want when a monster dies, you get an item? Well Cryzlme is right, a demo search would solve your problem. But the code isn't to hard.
usr.contents+=new/obj/whateveruwantsname
Put this at the monster's death proc.Man, i want it to appear on the ground |
Just create a new object in the spot where it died.
This would require the use of new and possibly other procs.
A quick demo search would also do nicely in finding something in this area.