|
|
When returning values from macros, you're supposed to do it like this:
#macro IInside(obj,vec)
#local toreturn = 0;
#local w = <1,2,3>;//trace(obj,vec,z);
#if ((w.x=0)&(w.y=0)&(w.z=0)) #local toreturn =1 ;
#end
(toreturn)
#end
Only actually place a value in there once. Don't do it multiple times within
ifs and elses.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|