- Found in:
- Vanilla
eventOnMenuItemRun(intauiMenuItemID, ObjectReferenceakTerminalRef)
Description
Wiki Description
Event called when the player selects a terminal menu item.
Documentation Comment
Event called when a terminal menu item is run, with the specified target and terminal owner (in parallel with the fragment)
Parameters
intauiMenuItemID
CK Wiki Description
The ID of the menu item that was run.
ObjectReferenceakTerminalRef
CK Wiki Description
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)
endEventAuto-Generated Example
Scriptname MyCoolScript extends Terminal
event OnMenuItemRun(int auiMenuItemID, ObjectReference akTerminalRef)
Debug.trace("Event received - OnMenuItemRun: auiMenuItemID = " + auiMenuItemID + " akTerminalRef = " + akTerminalRef)
endEvent