ID:178073
 
how would i make a proc called new that if Gone==1 that it creates a new obj/point
im not sure what you mean but id say:

mob/proc/new()
if(usr.Gone >= 1)
new/obj/point(locate(usr.x,usr.y,usr.z))


This makes a new obj under the mob, not sure if that what you want, but it may help......



-FireGuy
Aim id: trashplanet420
In response to FireGuy
to make it go under the mob,

instead of (locate(blah) use this.

(usr.loc)

for it to go to the items, (usr)
In response to FireGuy
FireGuy wrote:
im not sure what you mean but id say:

mob/proc/new()
if(usr.Gone >= 1)
new/obj/point(locate(usr.x,usr.y,usr.z))

This makes a new obj under the mob, not sure if that what you want, but it may help......

This is probably a bad idea on two levels: First, lowercase new is a reserved word, and it's too much like New(); it'd be confusing. Second, usr is inappropriate here; src should be used instead.

Lummox JR