| Blockland Forums > Help |
| Variable Text Choosing system? |
| (1/3) > >> |
| Rookie:
Hi, I need help with some events. Its a menu that you can choose from. Example: ------------------ Choose one. 1. Option 1 2. Option 2 3. Option 3 ------------------ Would it be possible with events, to make so that when I type 1 with this menu up, it says You selected option one? |
| zenloth:
[0]>[0]>[OnActivate]>[Self]>[FireRelay] [1]>[500]>[OnRelay>[Self]>[FireRelay] [2]>[0]>[OnRelay]>[Self]>[VCEifValue]>[Var:cl:lastmsg][==][1][5 7] [3]>[0]>[OnRelay]>[Self]>[VCEifValue]>[Var:cl:lastmsg][==][2][8 10] [4]>[0]>[OnRelay]>[Self]>[VCEifValue]>[Var:cl:lastmsg][==][3][11 13] [5]>[0]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Untick] [6]>[1000]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Tick] [7]>[0]>[OnVariableTrue]>[Do Stuff for option 1] [8]>[0]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Untick] [9]>[1000]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Tick] [10]>[0]>[OnVariableTrue]>[Do Stuff for option 2] [11]>[0]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Untick] [12]>[1000]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Tick] [13]>[0]>[OnVariableTrue]>[Do Stuff for option 3] I believe that should work. However I suspect there is a better way of doing this, and undoubtedly this will be glitchy. Spacing is to help understand what I'm doing. |
| Rookie:
Thanks! Btw, are any add-ons need for this? |
| zenloth:
--- Quote from: zenloth on April 04, 2010, 06:26:27 PM --- --- Code: ---[0]>[0]>[OnActivate]>[Self]>[FireRelay] [1]>[500]>[OnRelay>[Self]>[FireRelay] [2]>[0]>[OnRelay]>[Self]>[VCEifValue]>[Var:cl:lastmsg][==][1][5 7] [3]>[0]>[OnRelay]>[Self]>[VCEifValue]>[Var:cl:lastmsg][==][2][8 10] [4]>[0]>[OnRelay]>[Self]>[VCEifValue]>[Var:cl:lastmsg][==][3][11 13] [5]>[0]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Untick] [6]>[1000]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Tick] [7]>[0]>[OnVariableTrue]>[Do Stuff for option 1] [8]>[0]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Untick] [9]>[1000]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Tick] [10]>[0]>[OnVariableTrue]>[Do Stuff for option 2] [11]>[0]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Untick] [12]>[1000]>[OnVariableTrue]>[Self]>[SetEventEnabled][1][Tick] [13]>[0]>[OnVariableTrue]>[Do Stuff for option 3] --- End code --- I believe that should work. However I suspect there is a better way of doing this, and undoubtedly this will be glitchy. Spacing is to help understand what I'm doing. --- End quote --- Ugh, damn annoying BBC I think the only add-ons you would need is VCE |
| Rookie:
--- Quote from: zenloth on April 04, 2010, 06:37:58 PM ---Ugh, damn annoying BBC I think the only add-ons you would need is VCE --- End quote --- Okay thanks! :D |
| Navigation |
| Message Index |
| Next page |