Background for Fallout 4
Member of the ObjectReference script
eventOnHolotapeChatter(stringastrChatter, floatafNumericData)

Description

Wiki Description

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

Documentation Comment

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


Parameters

  1. stringastrChatter

    CK Wiki Description

    A string sent by the flash program. Its meaning is determined by the script which registers for the event.

  2. floatafNumericData

    CK Wiki Description

    Additional param for numeric data to be sent across.


Examples

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

Auto-Generated Example

Scriptname MyCoolScript extends ObjectReference

event OnHolotapeChatter(string astrChatter, float afNumericData)
    Debug.trace("Event received - OnHolotapeChatter: astrChatter = " + astrChatter + " afNumericData = " + afNumericData)
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.