Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Property does not exist: Health.

bracer
Registered User
Quote
2017-05-04 04:03:59

var soldier1 = ccbGetSceneNodeFromName("soldier1");

var health = ccbGetSceneNodeProperty(soldier1, "Health");

Error: "Property does not exist: Health."

Soldier model already has "Game Actor with Health (AI...)" behavior added.


niko
Moderator
Quote
2017-05-05 08:14:44

It's not a property but a variable. You can access it as written here: http://www.ambiera.com/coppercub... under "Special Variables"


ajay
Registered User
Quote
2017-05-20 09:09:42

Hello..how to player write name before start game in android using js in android how to shown keyboard for typing..please help
Thanks!


Create reply:


Posted by: (you are not logged in)


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