Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Get the behavior property

areibma
Registered User
Quote
2016-11-21 19:01:17

Hi,
I asked a question some days before regarding accessing the behavior property. Which I am asking again. Because I am still having confusion.
If I have a behavior named - behavior_doSomethingIDK, attached to a scene node named IDK. In this behavior I have a property -
<property name="Number" type="int" default="6" />

Now if I have a behavior - behavior_getThatWIK, which is attached to a scene node named WIK.
Now my question is, can I access the property "Number" of behavior_doSomethingIDK from behavior_getThatWIK? If so how?

Thank you


niko
Moderator
Quote
2016-11-22 05:40:42

Unless you add this feature into your behavior yourself, there is currently no way to access a property from a behavior like this, no, sorry.


areibma
Registered User
Quote
2016-11-22 06:46:11

Kindly add something like that or a messaging system, so that it is possible to communicate between two behaviors.
Thank you


niko
Moderator
Quote
2016-11-23 18:16:27

Added it to the TODO list


Create reply:


Posted by: (you are not logged in)


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