Difference between revisions of "MenuMode (Function)"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(nevermind, misunderstood how Wiki worked in this regard)
imported>Quetzilla
m
 
(4 intermediate revisions by 4 users not shown)
Line 14: Line 14:
If you include a parameter, the function will return 1 when the menutype (or specific menu) is being displayed.
If you include a parameter, the function will return 1 when the menutype (or specific menu) is being displayed.


{{MenuTypes}}


{{MenuTypes}}
==See Also==
*[[MenuMode]]




[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
<!-- Begin Search Terms
Menu
Mode
End Search Terms -->

Latest revision as of 16:41, 12 August 2008

Syntax:

 MenuMode MenuType (optional)

Example:

 if (MenuMode == 0)
 if (MenuMode 1036 == 1)


NOTE: MenuMode can be used either as a function or a block type.

With no parameter, this function will return 1 whenever the game is NOT in gamemode.

If you include a parameter, the function will return 1 when the menutype (or specific menu) is being displayed.

Menu Type[edit source]

1 = "main four" (the character interface: stats, magic, inventory, quest log)
2 = any other menu (message boxes, containers, etc.)
3 = console

Specific menus[edit source]

1001 = Message
1002 = Inventory
1003 = Stats
1004 = HUDMain
1005 = HUDInfo
1006 = HUDReticle
1007 = Loading
1008 = Container, Barter
1009 = Dialog
1010 = HUDSubtitle
1011 = Generic
1012 = SleepWait
1013 = Pause
1014 = LockPick
1015 = Options
1016 = Quantity
1017 = Audio
1018 = Video
1019 = VideoDisplay
1020 = Gameplay
1021 = Controls
1022 = Magic
1023 = Map
1024 = MagicPopup
1025 = Negotiate
1026 = Book
1027 = LevelUp
1028 = Training
1029 = BirthSign
1030 = Class
1031 = Attributes
1032 = Skills
1033 = Specialization
1034 = Persuasion
1035 = Repair / Ingredient Selection (Alchemy sub-menu)
1036 = RaceSex (Character Generation Screen)
1037 = SpellPurchase
1038 = Load
1039 = Save
1040 = Alchemy
1041 = SpellMaking
1042 = Enchantment
1043 = EffectSetting
1044 = Main
1045 = Breath
1046 = QuickKeys
1047 = Credits
1048 = SigilStone
1049 = Recharge
1051 = TextEdit


See Also[edit | edit source]