Print

Print


I have 3 ERCs called Cs, Os, and Ts which return random integers in defined 
ranges. The parent node is to have 3 children, one each of these ERCs. Can I 
define Cs, Os, and Ts types? For example, 

gp.type.a.size = 3
gp.type.a.0.name = Cs
gp.type.a.1.name = Os
gp.type.a.2.name = Ts

-- the parent node doesn't return anything at the moment actually
gp.nc.1 = ec.gp.GPNodeConstraints
gp.nc.1.name = nc1
gp.nc.1.returns = null
gp.nc.1.size = 3
gp.nc.1.child.0 = Cs
gp.nc.1.child.1 = Os
gp.nc.1.child.2 = Ts

gp.nc.2 = ec.gp.GPNodeConstraints
gp.nc.2.name = nc2
gp.nc.2.returns = Cs
gp.nc.2.size = 0

gp.nc.3 = ec.gp.GPNodeConstraints
gp.nc.3.name = nc3
gp.nc.3.returns = Os
gp.nc.3.size = 0

gp.nc.4 = ec.gp.GPNodeConstraints
gp.nc.4.name = nc4
gp.nc.4.returns = Ts
gp.nc.4.size = 0

-- ray