ID:177326
Sep 21 2002, 5:01 pm
|
|
Hey! Could someone give me a Build verb and a destroy verb (Only works on stuff you build)?
|
In response to Mertek
|
|
Build as in create a new object with certain attributes like density and stuff. And destroy everything you have built. Thank YE!
|
In response to Tiko587
|
|
mob
verb Build(/obj/O in world) new O(usr.loc) O.owner = usr.key Destroy() for(var/obj/O in world) if(O.owner == usr.key) del(O) |
In response to Tiko587
|
|
Tiko587 wrote:
Build as in create a new object with certain attributes like density and stuff. And destroy everything you have built. Thank YE! I'm not sure how it's done in most BYOND 'building' games, but here's how I'd go about doing it: obj/var/mob/owner // The maker of the object Hope that helps you out. |
mob/verb/Build()
mob/verb/Destroy()
-------------------
You never told us what you wanted them to do.