OnHolotapeChatter - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 14:30, 9 April 2014 by imported>MRTCracka (Created page with "Category:Scripting Category:Papyrus Category:Events '''Member of:''' ObjectReference Script Event that occurs when a flash program on a holotape wants to communi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Event that occurs when a flash program on a holotape wants to communicate with script.

Syntax[edit | edit source]

Event OnHolotapeChatter( string astrChatter, float afNumericData )

Parameters[edit | edit source]

  • astrChatter: A string sent by the flash program. Its meaning is determined by the script which registers for the event.
  • afNumericData: Additional param for numeric data to be sent across.

Examples[edit | edit source]

Event OnHolotapeChatter( string astrChatter, float afNumericData )
  if ( astrChatter == "RedMenaceScore" && afNumericData > fHighScore )
    Debug.Trace("We beat the high score in Red Menace.  Kick off a quest!")
  endIf
endEvent

See Also[edit | edit source]