MenuMode

From GECK

Syntax:

 begin MenuMode MenuType (optional)

Example:

 begin MenuMode
 begin MenuMode 1
 begin MenuMode 1012

With no parameter, this block type will run whenever the game is NOT in gamemode -- whenever ANY menu is being displayed.

If you include a parameter, you can specify the menu type, or the specific menu, when you want the script block to run:


  • The Main Menu that appears when F3 first starts up does not have its own menu code. However, the following three (and only these three) will return true: 1004, 1007, 1013.

Menu type:

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

Specific menu:

1001 = Message
1002 = Inventory
1003 = Stats
1004 = HUDMainMenu
...
1007 = Loading
1008 = Container
1009 = Dialog
...
1012 = SleepWait
1013 = Pause
1014 = LockPick
...
1016 = Quantity
...
1023 = Pipboy Data
...
1027 = LevelUp
...
1035 = Pipboy Repair
1036 = RaceSex
...
1047 = Credits
1048 = CharGen
...
1051 = TextEdit
...
1053 = Barter
1054 = Surgery
1055 = Hacking
1056 = VATS
1057 = Computers
1058 = Vendor Repair
1059 = Tutorial
1060 = You're SPECIAL book
1061 = Item Mod Menu (New Vegas)
...
1074 = Love Tester (New Vegas)
1075 = Companion Wheel (New Vegas)
1076 = The Medical Questionnaire (Not Used) (New Vegas)
1077 = Recipe (New Vegas)
...
1080 = Slot Machine MiniGame (New Vegas)
1081 = Blackjack Table MiniGame (New Vegas)
1082 = Roulette Table MiniGame (New Vegas)
1083 = Caravan MiniGame (New Vegas)
1084 = Character Creation Traits (not the Medical Questionnaire) (New Vegas)

Notes

  • For Effect Scripts, this block will never run when the Pause menu is open.

See Also

Personal tools