Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests. Failure to comply with the forum rules may result in your topic being locked without resolution.
A common mistake that trips me up is missing quotation marks ( " ) or a bracket. So if there's quotation marks missing for you guislider meat count, that might be it, but I would think Sandbox would pick it up.
RPG dialogue just doesn't work that way. the r_response thing is meant to be a UI system independent means of defining dialogue.
Naturally sliders won't work
We've picked it up again and we hope to have UI replace the old 3dgui by 2.8.0, we unfortunately have a LOT of work to do before the switch is even feasible.
For starters, there are the missing elements, there are basically 3 scenarios we need to be able to cover which the current UI facilities don't provide. As follows they are...
1. a guislider equivalent
2. some sort of dynamic text
3. a guifield equivalent
4. a guikeyfield equivalent
5. the ability to wrap text
We can more or less tackle the first case by jury-rigging the scrollbar code to function as the sliders and this is the approach I've taken, so our sliders have scrolling areas as well as a button in the centre to signify its position. While this has been completed, it's still a bit buggy, for example it handles integers (read: ID_VAR) very poorly. In addition it also lacks 2 capabilities I'd very much like some sort of "onchange" scrip and the ability to scroll up/left and down/right usign the mouse wheel or even the appropriate directional keys.
So you have it, it's just not quite implemented yet?
Hirato wrote:RPG dialogue just doesn't work that way. the r_response thing is meant to be a UI system independent means of defining dialogue.
Naturally sliders won't work
Hmm.
And could be a command be executed when the response is chosen?
the syntax is r_response text dst script.
so yes, you could do something like that. Though I'd suggest using a series of fixed size queries for now.
eg, cook 1, cook 5, cook 10, cook 20, cook 50, cook 100, etc
Sorry about the (idiotic) post about the newUI slider, I just went from slider to slider and ignored the RPG to newui stuff. Again, sorry about that.
However, that means that when newUI comes about, it'll be just fine to use for everything?