Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
limits

mvdhoning
Registered User
Quote
2018-08-19 21:19:04

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?


3dnoob
Registered User
Quote
2018-08-19 21:25:07

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.


niko
Moderator
Quote
2018-08-27 15:43:02

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.


Robo
Guest
Quote
2019-06-25 03:57:17

Niko:

where to get this javascript code to save & load arrays ??!!!


Robo
Guest
Quote
2019-09-08 17:14:08

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...


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact