On the call proc, the reference states:
Format:
call(ProcRef)(Arguments)
call(Object,ProcName)(Arguments)
Args:
ProcRef: path of proc (/proc/MyProc)
Object: source of proc or verb
ProcName: name of proc or verb ("MyProc")
If you call it the first way... call(ProcRef)(Arguments)... how does it know what the source of the proc is?
Z
ID:138224
Jan 20 2001, 8:21 am
|
|
I think we discussed this at the GoB, but in case any one is interested:
In the first method, the proc is called as a global function, eg: call(/proc/test)()
This means that this probably won't work as expected if you call a proc that expects a src, eg: call(/mob/proc/test). I believe in this case the src will just be the same as the src of the proc from which you are executing the call instruction.