Difference between revisions of "Toggle Workshop Menu"

27 bytes added ,  23:36, 31 May 2020
m
corrected link errors
imported>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
(Created page with "= Overview = This tutorial creates a custom Holotape to turn on and off a workshop menu. We'll be creating a simple toggle on and off system that will show a visual of the...")
 
imported>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
m (corrected link errors)
Line 5: Line 5:
Our plugin is going to be using [[Identifier_Reference#Namespaces|Namespaces]] for data folder organization purposes so there is a little more work and double-checking than when not using one. The methodology behind this is that it makes archiving the scripts for upload much easier and creates organization for both the mod creator and mod user.
Our plugin is going to be using [[Identifier_Reference#Namespaces|Namespaces]] for data folder organization purposes so there is a little more work and double-checking than when not using one. The methodology behind this is that it makes archiving the scripts for upload much easier and creates organization for both the mod creator and mod user.


NOTE: This will not actually [[AddItem|add]] the holotape to the player's inventory. That is beyond the scope of this tutorial.
NOTE: This will not actually [[AddItem_-_ObjectReference|add]] the holotape to the player's inventory. That is beyond the scope of this tutorial.


'''The reader will learn:'''
'''The reader will learn:'''
* How to create a [[Global_Variable]]
* How to create a [[Global]]
* How to create a [[Terminal]] for use with holotapes
* How to create a [[Terminal]] for use with holotapes
* How to create and condition terminal entries
* How to create and condition terminal entries
Line 35: Line 35:
Right click in the list of terminals and select "New".
Right click in the list of terminals and select "New".


[[Models]] and [[Marker]]s are not necessary for holotape terminal entries. You can leave these blank.
[[Model_File]]s and Markers are not necessary for holotape terminal entries. You can leave these blank.
If you wish the terminal to have default [[Keyword]]s, click "Make Wall Terminal" or "Make Desk Terminal". The Keywords box will autofill with the appropriate defaults.
If you wish the terminal to have default [[Keyword]]s, click "Make Wall Terminal" or "Make Desk Terminal". The Keywords box will autofill with the appropriate defaults.


Line 219: Line 219:


==Compling Papyrus==
==Compling Papyrus==
Now let's write the actual fragment. It uses [[SetValue]] to set the Global Variable.
Now let's write the actual fragment. It uses [[SetValue_-_GlobalVariable]] to set the Global Variable.


'''Menu Entry 1'''
'''Menu Entry 1'''