Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
what are the limits on ccbSetCopperCubeVariable(varname, value) and Execute Javascript Action e.g. for the execute javascript action it seems that the amount of javascript in can add there is limited. E.g. i can place the shortened version of my json library there, but not the longer debug version. Is there an overview of such limits? |
||||
|
Hello mvdhoning, You can also have variables without Ccbsetcoppercubevariable (varname, value). I have no idea of boundaries. I don't think you can put arrays, lists, etc. |
||||
|
ccbSetCopperCubeVariable is just a way to communicate with the variables which can be set and read by the actions. It can do strings and numbers, nothing more. For arrays, lists, objects etc, use JavaScript instead, that works nicely. |
||||
|
Niko: where to get this javascript code to save & load arrays ??!!! |
||||
|
Robo wrote: Niko: where to get this javascript code to save & load arrays ??!!! never mind - worked it out - even creating clones and saving and repopulating the scene with position and rotation...all working now... |
|