ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator can i edit a custom behavior variable during gameplay?
person icon
bp64dd
Guest
Quote
2026-09-22 18:39:05

hello, is there a way to edit a custom behavior variable via an action/a snippet of js code?

person icon
gazzauk
Registered User
Quote
2026-09-23 16:53:11

Yes, but it requires the use of the set and get variable methods:

ccbSetCopperCubeVariable(varname, value)
ccbGetCopperCubeVariable(varname)

If it's a custom action and behavior then a global variable passed between both scripts would be the better way.


Create reply:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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