Dialog Help - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Dialog Help (/Thread-Dialog-Help) |
Dialog Help - Reflex - 04-24-2012 01:10 PM Hello, I am trying to create a script that allows players to customize an item by specifying a name and color through a dialog. However, I'm not quiet sure how to record the text the enter and also specify which characters and how many characters are allowed. Also I am not sure how to allow players to click a button for example I want them to click arrows to < > to sort through custom colors so i need to figure out how to have them hit a button on the dialog and have the button either change the tilepic color or the tilepic id assuming the tilepic's generate the color of the item also. Here is my current script so you can view the dialog and see what im trying to do I would also like to use a def table so I can specify certain colors if this is the correct way. Code: [ITEMDEF i_rr_test] RE: Dialog Help - Khaos - 04-29-2012 01:29 PM I am not a dialog expert by far scripting wise. I am not sure if this is possible or not. I do know it sounds resource intensive if this isn't controlled.. As for checking who can and cannot change the colors and how to check for who can... I have a few ideas. Allow for a one time use item which is removed when the settings are chosen. Another option would be a player or account tag. There is options for context entry to enter in values or edit some. As for a progressive arrow feature. I am not sure. Again. I am not the dialog expert. |