ID:158420
 
Is there any way to define the src for global procs? I need to call step() in these global procs but I don't think it will work if I can't define the src. Plz Help!
Call step() on something else then.
You can't set a src for a global proc. You could have an argument that you pass (GlobalProc(arg1, arg2, whatever)), but it depends entirely what you're trying to do...
In response to Ephemerality
I think I figured it out, I just put the proc under atom and call atom-name.proc-name when I want to call it. Sorry I bothered to ask this question on this forum when I figured the answer out myself... thx anyways
In response to HearMeRoar
If you're planning to use step(src,dir), then it should be under /atom/movable, not /atom. The /atom type, unsurprisingly, doesn't move.