// ...
obj
Thing
icon='stuff.dmi'
Bump(atom/O)
if(isturf(O))
if(O.density == 1)
del(.())
..()
// ...
This compiles without errors...but just wondering if it would do what I intend it to do...
Thanks!
~Hi1
ID:157780
Jan 1 2010, 10:51 pm
|
|
How would one go about doing this? Would it be:
// ... This compiles without errors...but just wondering if it would do what I intend it to do... Thanks! ~Hi1 |
Jan 1 2010, 10:55 pm
|
|
You can use 'src' to reference the thing executing a proc. So del(src) would delete the object.
|
In response to Nadrew
|
|
Wow, I'm blind. Thank you!
|