Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
that's how you can setup custom health bar

sven
Registered User
Quote
2022-05-25 16:45:38

DouweDabbe wrote:
no not true,
look better

https://www.ambiera.com/forum.php?t=10295


my answer was about your code that you posted:
Your code______________
var playerHealth = ccbGetCopperCubeVariable("=||="+playerName.toString()+".health"):
<-- error ccbGetCopperCubeVariable not js function
var playerHealth = ccbGetCopperCubeVariable("=||="+playerNode.toString()+".health"):
<-- error same message


i can see clearly : not ; . In your new post yes there is not that typo in.


DouweDabbe
Guest
Quote
2022-05-25 17:25:53

thank you sven

you copy-paste does contain double dot characters at the end of code statements. That is correct. Caused perhaps by some AI spellingchecker, that happens quite often here at my side.

But in my own original post at the supplied link.
I do not see double dots.
There I see dot-apostrophes, as I intended, at the end of code statements.

Besides found the bug, cannot ask for health in scripting window.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Int?rnational" (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