In my project I have 9 basic types from which I'm creating a certain number of each type when the layout loads. I get them created just fine, but the 9 types are part of a single family with a family instance variable I want to set.
When the object is created, how can I refer to the instance I just created (inside the same function)...
So "Create Object" (I'm using by type name) and then Set the variable of that new Object to X.
Is this possible in C3?
I tried Family.SetBoolean and it takes it in the editor, but on debugging the objects are not actually changed to the value.
ANSWER: Sub-event for pick last created "Family" and then set the value... YAY!
Develop games in your browser. Powerful, performant & highly capable.