I was hoping a proc, to be called whenever a obj/mob crosses/bumps another atom for the opposing atom, could be added. I recently did some work on collisions for projectiles and was sort-of disappointed in the lack of native support for this.
As it is now, I created a work-around, but it'd be nice to have implemented.
ID:1434672
Dec 1 2013, 12:07 am
|
|||||||
Redundant
| |||||||
In response to D4RK3 54B3R
|
|
D4RK3 54B3R wrote:
It's fairly trivial to make your own atom.Crossed() and atom.Bumped(). I don't think it needs native functions. yeah, already made the workaround before posting. Just thought it was something that should've been native. |
Shadowdarke made a library that includes a atom.Bumped(), so you could use that to see how it's done.
http://www.byond.com/developer/Shadowdarke/sd_procs