BarnsleyLad Posted November 25, 2020 Share Posted November 25, 2020 Hey everyone, question regarding terminal navigation and scripting.. Is it possible to navigate terminal menus via a script? For example, if there was a terminal with a menu item "Check Weather Forecast," which generated a random integer upon being run, and then pulled a premade terminal from a form list with the same index as the integer to be the SubMenu, is it possible to do so? Is there an easier way to go about this that I am overlooking? Any help is greatly appreciated :D Link to comment Share on other sites More sharing options...
LarannKiar Posted December 11, 2020 Share Posted December 11, 2020 So you’d like to create randomized terminal submenus? In the “Terminal” window create two “Item texts” with conditions. In the contitions section, add a condition GetGlobalValue (your global=0). For the other Item text, add a condition GetGlobalValue (your global=1). After that, create a script and use the Unitily.Random to randomize between 0 and 1. Finally, create your submenus and add them to the “Item texts”. Link to comment Share on other sites More sharing options...
Recommended Posts