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

From Frictional Wiki
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