ID:174240
Sep 11 2003, 5:16 pm
|
|
What's the code for a delete verb so you can delete things in a game
|
In response to Buzzyboy
|
|
um... he did not ask to delete everything, so how would you delete only certain things?
|
In response to digitalmouse
|
|
mob/verb/Delete(var/atom/O in oview())
del O this would pop up a list of everything you can see in your view minus yourself you double click and itd delete it. mob/verb/Delete(var/atom/O in oview(1)) del O That 1 in oview() in this one makes you have to be within 1 unit or less with O before youd have the option to delete it. If more than 1 mob is within this area then it pops up the list I mentioned in the first example. |
del O
easy as these 2 lines, of course don't give this to players except yourself, they'll delete everything in the dmp!