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?
ID:266616
Apr 21 2002, 9:16 am
|
|
atom/proc/Bumped(atom/Obstacle) It compiles fine but doesnt work in-game can anyone help? |
In response to Shadowdarke
|
|
It still won't work :( here's my coding so far..
atom/proc/Bumped(atom/Obstacle) 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 -Rcet |
In response to Rcet
|
|
It just doesnt wanna work!
|
In response to Thief Jack
|
|
Nevermind thanks Rcet for the help!
|
Bumped(O)
O << "[message]"