ID:266616
 
atom/proc/Bumped(atom/Obstacle)
Obstacle.Bumped(src)
..()

obj
Sign
icon = 'turfs.dmi'
icon_state = "sign"
density = 1
var/message = "Nothing..."
Bumped()
usr << "[message]"

It compiles fine but doesnt work in-game can anyone help?
You do not use usr in the Bumped() proc.

Bumped(O)
O << "[message]"
In response to Shadowdarke
It still won't work :( here's my coding so far..

atom/proc/Bumped(atom/Obstacle)
Obstacle.Bumped(src)
..()

obj
Sign
icon = 'turfs.dmi'
icon_state = "sign"
density = 1
var/message = "Nothing..."
Bumped(O)
O << "[message]"

Anything wrong with it so far?
In response to Thief Jack
You need to define the proc for all atoms.
atom/proc/Bumped()

Then, you need it to call it, whenever that atom is bumped.
mob
Bump(atom/A)
A.bumped()
..()



-Rcet
In response to Rcet
It just doesnt wanna work!
In response to Thief Jack
Nevermind thanks Rcet for the help!