whenever i use a proc and try something like...
turf
Entered()
call(/proc/something)(src)
proc
something(O)
o.hp-=5
it just says "blah.dm:blah:error:o.hp:undefined var"
it seems like it doesn't even relize that its a mob, can someone help me out?
not:this isn't my code, it just an example of what happens
ID:148072
Jul 22 2003, 5:19 am
|
|
In response to Airjoe
|
|
...seriously, omg that stinks! i thought it would understand that src was a mob already, oh well, thanks!
|
In response to Redslash
|
|
Redslash wrote:
...seriously, omg that stinks! i thought it would understand that src was a mob already, oh well, thanks! Actually in turf/Entered(), src is the turf. You need to use the first argument from Entered(), not src. (Do not use usr.) Lummox JR |
mob/O