hadoken Guest |
Quote
|
2022-08-06 19:31:04 |
|
Just for the record, this is how you can have the dropdown select feature with your external custom behavior/action script properties just like CopperCube's in-built ones sometimes offer:
<behavior jsname="behavior_DropdownSelectTest" description="scenenode dropdown select demo"> <property name="Test" type="scenenode" default="<dropdown>" /> </behavior> Maybe you find this useful - as I do. Have fun :-)
|
hadoken Guest |
Quote
|
2022-08-06 19:34:50 |
|
🔎︎
|
Arcanjo Guest |
Quote
|
2022-08-07 01:43:43 |
|
Hadoken...
🔎︎
|
just_in_case Moderator |
Quote
|
2022-08-07 11:01:16 |
|
I think most of the people who write custom behaviors are known to this, Almost every single shader that I use has this parameter type.
You don't have to use "<dropdown>" as a default value, if you just use scenenode, it will be fine, you will still get the dropdown, there is also, Texture and Color property type, they both are bugged, but if you use my color conversion functions, then it will fix the color parmater.
The bug for the Texture parameter type will get fixed in the next update as I have already fixed it and send the modified files to @niko.
Hopefully soon, we will have new update.
There is also an "enum" parameter type, but it is not yet implemented to be used in the scripting. I will see if I will be able to implement it.
|