18.08.2015, 06:04
You can make it a little bit smaller by replacing this:
With this:
If you need AND instead of OR you can do this:
Code:
12345
if (a > 0) then
grp.write(myobject, true, dt.bool)
else
grp.write(myobject, false, dt.bool)
endWith this:
Code:
1
grp.write(myobject, a > 0, dt.bool)If you need AND instead of OR you can do this:
Code:
1
grp.write(myobject, a == #myobjects, dt.bool)