OnMenuItemRun - Terminal

From the Fallout4 CreationKit Wiki
Revision as of 16:02, 23 May 2013 by imported>Iceburg333 (Created page with "Category:Scripting Category:Papyrus Category:Events '''Member of:''' Terminal Script Event called when the player selects a terminal menu item. == Syntax == <so...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: 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 ref initially activated

Examples

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

Notes

  • This event runs in parallel with the terminal menu item fragment.

See Also