≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
[bug?] click action, ccbSetCopperCubeVariable
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b][/b] wrote: sorry, not my error, this is engine "feature" at windows [code] var myVar = ccbGetCopperCubeVariable('myVar'); if (myVar == true) { ccbSetCopperCubeVariable(this.sid, false); print('ok'); } else { ccbSetCopperCubeVariable(this.sid, true); print('wtf?'); } [/code] console always print "wtf?" if i using numbers instead bool value then work ok for platform compatiblity dont use bool values, right code is [code] var myVar = ccbGetCopperCubeVariable('myVar'); if (myVar == 1) { ccbSetCopperCubeVariable(this.sid, 0); print('ok'); } else { ccbSetCopperCubeVariable(this.sid, 1); print('wtf?'); } [/code][/quote]
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