Mod:Creation Kit/OnMenuItemRun - Terminal

Member of: Mod:Creation Kit/Terminal Script

Event called when the player selects a terminal menu item.

Syntax
Event OnMenuItemRun(int auiMenuItemID, ObjectReference akTerminalRef)

Parameters

 * auiMenuItemID: The ID of the menu item that was run.
 * akTerminalRef: The terminal reference initially activated. This will be none if activated from the players Pipboy.

Examples
Event OnMenuItemRun(int auiMenuItemID, ObjectReference akTerminalRef) Debug.Trace("Player selected menu item" + auiMenuItemID + " on " + akTerminalRef) endEvent