HPL3/Amnesia: Rebirth/Scripting/Scripting Api/Readable

From Frictional Wiki
< HPL3‎ | Amnesia: Rebirth‎ | Scripting‎ | Scripting Api
Revision as of 00:07, 16 November 2020 by Abion47 (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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