Difference between revisions of "HPL3/Amnesia: Rebirth/Scripting/Scripting Api/Readable"

From Frictional Wiki
Jump to navigation Jump to search
(Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Summary== {{CodeDocSummaryTop}} {{CodeDocSummaryIte...")
 
(No difference)

Latest revision as of 01:07, 16 November 2020

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Summary

Return Type Function and Description
void Readable_SetCloseCallback(const tString &in asName, const tString &in asCallback)
Sets the close callback of a readable prop
void Readable_SetOpenEntityFile(const tString &in asName, const tString &in asEntityFile)
Sets the open entity file of the readable prop

Function Detail

Readable_SetCloseCallback

void Readable_SetCloseCallback(const tString &in asName,
                               const tString &in asCallback)

Sets the close callback of a readable prop.
@callback syntax for callback function: void FuncName(const tString &in asEntity).

Parameters

Returns:

  • void

Readable_SetOpenEntityFile

void Readable_SetOpenEntityFile(const tString &in asName,
                                const tString &in asEntityFile)

Sets the open entity file of the readable prop

Parameters

Returns:

  • void