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
stringastrChatter
CK Wiki Description
A string sent by the flash program. Its meaning is determined by the script which registers for the event.
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
endEventAuto-Generated Example
Scriptname MyCoolScript extends ObjectReference
event OnHolotapeChatter(string astrChatter, float afNumericData)
Debug.trace("Event received - OnHolotapeChatter: astrChatter = " + astrChatter + " afNumericData = " + afNumericData)
endEvent