Code: Select all
decl self = getobject();
self.x = {0,OSC_ARGS};
What am I missing?
Code: Select all
decl self = getobject();
self.x = {0,OSC_ARGS};
What you're looking for is:psykel wrote:Been looking into how to pull this off, seems trivial. Basically I create a references using getObject(), but I want to then reference that items "x" variable, but I seem to not be able too. For reference I would assume this:
but that doesn't compile. I want to use references because I don't want to have to change a ton of script names because this particular object will be duplicated a bunch...Code: Select all
decl self = getobject(); self.x = {0,OSC_ARGS};
What am I missing?
Code: Select all
decl self_x = getexpression(self,'x');
self_x = {0,OSC_ARGS};