ID:178084
 
obj/point
icon='point.dmi'
proc/NEW(/obj/point/O)
if(Gone==1)
new/obj/point

how would i make it so it locates the object point randomly
also what is wrong with my bump()
mob
Bump(obj/point/O)
if(istype(O,/obj/point))
usr.Points+=3
Gone=1
del(O)
In response to Zether
Zether wrote:
also what is wrong with my bump()
> mob
> Bump(obj/point/O)
> if(istype(O,/obj/point))
> usr.Points+=3
> Gone=1
> del(O)

try:
mob
var
point = /obj/point/O
Bump(obj/point/O)
if(istype(O,/obj/point))
usr.Points+=3
Gone=1
del(O)

or:
mob
Bump(/obj/point/O) //notice the backslash before obj
if(istype(O,/obj/point))
usr.Points+=3
Gone=1
del(O)