ID:177970
 
First how can i make a moving obj stop when it hits something,

Second how do i call the bump proc for said moving obj,

Any help would be, well, helpfull.
1st:
obj/moving_thing
density=1
icon=''
icon_state=""
Move()
src.walk_rand()
Bump()
Move(null)
Note: untested
Jotdaniel wrote:
First how can i make a moving obj stop when it hits something,

Second how do i call the bump proc for said moving obj,

Any help would be, well, helpfull.


You can do this by making both objects dense. Bump() is called if there is a dense blockage.

Say this obj thats moving is a bullet, How do i get the bullet to hit a target in its path? i can get it to hit the target but i dont know how to make it affect the target, like do damage. any help would be appreciated.
In response to Jotdaniel
Look at Nadrew's wall damage system http://www.byond.com/hub/Nadrew/nadrewswalldamagesystem it should explain your problem.
In response to DBZ Kidd
Thank you.