PDA

View Full Version : Domain menu chooser?


TCArknight
August 5th, 2012, 06:14 PM
Ok, I'm blanking on another thing... :(

I have a skill which requires a domain. I want to provide that domain though a menu. It'd be something like:

- Custom -
Simple
Advanced
Expert

If the user selects Custom, the skill should show a Text box for entering specifics.

What is usually how this is handled?
thanks!
TC

Mathias
August 6th, 2012, 08:14 AM
The UserSpec component's array-based menu for the dropdown.

Have a script on your item detect that selection, then assign User.NeedDomain to itself.