ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator dropdown select with custom behaviors/actions
person icon
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 :-)
emoji icon_blink

person icon
hadoken
Guest
Quote
2022-08-06 19:34:50

embedded external image
🔎︎


person icon
Arcanjo
Guest
Quote
2022-08-07 01:43:43

Hadoken...

embedded external image
🔎︎


person icon
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.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |