Setting Default NodeData Properties... OnReset?

Quasimodem

New member
Hello, I'm doing some QOL improvements before we jump into our next project and I'm trying to make life a bit easier to work with the sheer number of Behavior Designer trees we create.

One huge improvement would be the ability to automatically set a Node's color (among other things) when it's created. We have a few very important nodes and a color-coding system that goes along with them that make our trees much easier to understand.

It seems that OnReset() is called when my Node is created, however only some properties "stick" if I set them right then (such as IsInstant). Other properties don't take effect until I manually run Reset from the little gear icon (such as NodeData.ColorIndex and things related to SharedVariables).

Is there another later opportunity I have to set these kind of defaults that will actually take effect immediately? Thank you very much for any insight.
 
Are you serializing the tree after you make a change? This thread shows how you can do it:


If the tree is serialized it should save all of the NodeData properties.
 
Top