Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
current clone health variable

coa
Registered User
Quote
2021-11-21 18:41:50

Im trying to change the health variable of a clone in the "action to do with the clone" is there something like currentclone.health. when i use computer.health the name of the node it seems I only change the original node and not the clone, or can i only change the health of the original


VP
Guest
Quote
2021-11-22 08:42:16

Add a "game character" behaviour to the node (which will also manage the node's health). Now when you clone this enemy, it's health will also be managed separately.

Let me know if you want a ccb example file.


coa
Guest
Quote
2021-12-12 05:42:41

I used a diffrent approach I changed the first note and then cloned it


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