HPL3/Amnesia: Rebirth/Scripting/Scripting Api/LevelDoor

From Frictional Wiki
< HPL3‎ | Amnesia: Rebirth‎ | Scripting‎ | Scripting Api
Revision as of 00:04, 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
bool LevelDoor_GetLocked(const tString &in asName)
Gets the lock state of a level door
void LevelDoor_SetLocked(const tString &in asName, bool abState)
Sets the lock state of a level door

Function Detail

LevelDoor_GetLocked

bool LevelDoor_GetLocked(const tString &in asName)

Gets the lock state of a level door

Parameters

Returns:

  • bool—bool, true = locked - false = unlocked.

LevelDoor_SetLocked

void LevelDoor_SetLocked(const tString &in asName,
                         bool abState)

Sets the lock state of a level door

Parameters

  • asName (tString) —
  • abState (bool) —

Returns:

  • void