lucas007 Registered User |
Quote
|
2024-05-28 19:00:32 |
|
Hi everyone
I created a behavior for the controle of a character of my game. I would like to know: "how to change the value of a variable of the behavior using the coppercube action change the value of variable"
|
Guest Guest |
Quote
|
2024-05-28 19:57:49 |
|
Make a variable in your behavior that gets a CC variable with ccbGetCopperCubeVariable().
|
lucas007 Registered User |
Quote
|
2024-06-02 08:56:38 |
|
Thanks for replying
So I need to change my script and add new property that corresponds to the CC variable?
|
Guest Guest |
Quote
|
2024-06-02 20:36:35 |
|
Yes, then use ccbSetCopperCubeVariable() with the same variable during runtime.
|
lucas007 Registered User |
Quote
|
2024-06-10 08:32:07 |
|
Ok thank you
|
Guest Guest |
Quote
|
2024-06-10 19:15:17 |
|
You're welcome. Let us know if you need any other help.
|