Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
From within a Execute Java Script Action, is it possible to run some sort of code to change an attribute inside a behavior? For example, press left mouse button to triggers the run javascript action that changes the value of... lets say the ActivationRadius in the Game Actor behavior of an object Thanks in advance. :) M |
||||
|
Depend, some internal behaviors have proprieties that can be changed acessing specifics variables in action set variable. There is one action from just in case with name action change attribute in his page, that action allow to change some proprieties from coppercube. It is possible use javascript to change proprieties listed in coppercube javascript reference, If you have new coppercube studio version 6.7, and know how to program you can customize many things from coppercube use binnaries made from you or other people. Some internal functions and behaviors can not be acessed or changed proprieties, normally this is happen in coppercube internal behaviors, In third party behavior you can acess the javascript code and change what you want. Thanks the attention |
|