I propose two new nodes for working with Trait
:
This makes it faster and easier to find and identify them.
Usage example:
Scripts: LN_Trait_Get_Separator.zip
I propose two new nodes for working with Trait
:
This makes it faster and easier to find and identify them.
Usage example:
Scripts: LN_Trait_Get_Separator.zip
Nice!
What exactly does Separate Trait
do? It outputs the name and the trait? Then the name is probably a bit misleading, it sounds like something is “split” and cut into two disjoint things. Wouldn’t a simple Get Trait Name
node be sufficient?
I figured there would be ideas for outputting more field values from Trait. But if the name is only necessary, then of course I will correct it.
Need type deduction (Trait, LogicNode, CanvasScript)?
If so, should it be just a line?
To display the CanvasScript name, WasmScript needs to modify the appropriate classes so that there is a field with the saved name. I haven’t found another way yet. Do you need to do this?
If so, it will work like this:
New version (when using modified CanvasScript
and WasmScript
classes):
Sample:
Result:
Scripts: get_traits.zip