Interknet Posted November 1, 2011 Share Posted November 1, 2011 With mods people add menus such as FOOK2s configuration menu. I was wondering, is there a way to use an Input menu, rather than a button-based menu? It's just an idea I had in mind to make a mod that would be a lot more easier to use via an input menu. (I mean the one like Player Name for those who don't know what I mean by an input menu). Thanks in advance. Link to comment Share on other sites More sharing options...
davidlallen Posted November 2, 2011 Share Posted November 2, 2011 When you say "input menu" do you mean something with a text box entry where the user can type any string? This is the way the player name dialog box works. There is no way for user mods to do this. The scripting language does not provide any way to operate on string data. Link to comment Share on other sites More sharing options...
Interknet Posted November 2, 2011 Author Share Posted November 2, 2011 Aw that sucks big time. Link to comment Share on other sites More sharing options...
Interknet Posted November 2, 2011 Author Share Posted November 2, 2011 Would there be a way around it? Theres mods that request you to press a key to bind it so it would be a hotkey. Could it be possible to allow a string of keys, followed by another key such as ENTER then it takes that string you entered and uses it? Link to comment Share on other sites More sharing options...
davidlallen Posted November 2, 2011 Share Posted November 2, 2011 What if the key is already bound? You would have to unbind and then rebind. How to display the string the user has already typed? What if the user mistypes and wants to use "backspace"? I haven't thought about it too much, but I highly doubt you would find a way to do this. Link to comment Share on other sites More sharing options...
Interknet Posted November 2, 2011 Author Share Posted November 2, 2011 I think its possible. I had the idea to use a timer of 5 seconds for example. So after pressing OK in a popup to continue to change the name, then after inputting what ever you want, it would come up with the name in a message box and confirming if or something. I'll have to ask a scripter maybe. Seems difficult even thinking about it Link to comment Share on other sites More sharing options...
Recommended Posts