Difference between revisions of "Toggle Workshop Menu"
→Creating the Workshop Object Recipe
imported>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 m (corrected link errors) |
imported>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
||
(3 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
* How to create a conditioned workshop recipe | * How to create a conditioned workshop recipe | ||
= Creating the Global | = Creating the Global = | ||
*In the Object Window, navigate to Miscellaneous > Global | *In the Object Window, navigate to Miscellaneous > Global. | ||
*Right click in the list of global variables and select "New". | *Right click in the list of global variables and select "New". | ||
The window brings up the Global | The window brings up the Global form. | ||
*Give the global a memorable name. For purposes of this tutorial, is called <code>OLT_HolotapeToggle</code>. | *Give the global a memorable name. For purposes of this tutorial, is called <code>OLT_HolotapeToggle</code>. | ||
*Leave the value at 0. This will be our default value for the plugin and everything will be conditioned around this number. | *Leave the value at 0.0000. This will be our default value for the plugin and everything will be conditioned around this number. | ||
*Click "Ok" to save the record. | *Click "Ok" to save the record. | ||
Our global | [[File:Tut_globalholotape.PNG]] | ||
Our global is set up and ready for use. | |||
*Save your plugin in. | *Save your plugin in. | ||
= Creating the Holotape Terminal = | = Creating the Holotape Terminal = | ||
Line 130: | Line 131: | ||
'''Menu Entry 4''' | '''Menu Entry 4''' | ||
*Select Index 4 [x] Menu Item OFF. | *Select Index 4 [x] Menu Item OFF. | ||
*Navigate to Item Conditions > Right click "Paste Conditions". | *Navigate to Item Conditions > Right click "Paste Conditions". No changes are necessary. | ||
*Click "Ok" to save the condition. | *Click "Ok" to save the condition. | ||
Line 272: | Line 271: | ||
= Creating the Workshop Object = | = Creating the Workshop Object = | ||
COBJs for full menus or individual menu items can be toggled. Keyword-controlled menus will need a global placed on every COBJ with the same menu keyword to effectively turn off that menu. Formlist-controlled menus should only need the global placed on the primary menu COBJ. | |||
For purposes of this tutorial, we'll be duplicating an existing workshop item in order to create our conditioned recipe for it. | For purposes of this tutorial, we'll be duplicating an existing workshop item in order to create our conditioned recipe for it. | ||
Line 282: | Line 283: | ||
= Creating the Workshop Object Recipe = | = Creating the Workshop Object Recipe = | ||
Now that we have our item, let's create the recipe. The recipe we're creating will be toggling on and off from the Ball Track Menu | Now that we have our item, let's create the recipe. The recipe we're creating will be toggling on and off from the Ball Track Menu. | ||
*Select OLT_workshop_PictureFrame02A | *Select OLT_workshop_PictureFrame02A |