OnHolotapePlay - ObjectReference

From Creation Kit
Jump to: navigation, search
This article has been flagged as inaccurate.
Please help improve the wiki by learning how to contribute.

Member of: ObjectReference Script

Event sent to a holotape when it is played via Pipboy or Terminal.

Syntax

Event OnHolotapePlay(ObjectReference akTerminalRef)

Parameters

  • aTerminalRef: If run from a terminal, the terminal reference. If None, then it's being run from the pipboy.

Examples

; Event is sent to the player
Event OnHolotapePlay(ObjectReference akTerminalRef)
  Debug.Trace(self + " was just played on terminal " + akTerminalRef)
endEvent

Notes

Scripts extending ObjectReference attached to a Holotape will not receive this event if the holotape was played from a pipboy. There has been no feedback from the developers on using this event with a pipboy or if it was intended to work with one at all.

See Also