HPL3/SOMA/Scripting/Scripting Api/LevelDoor

From Frictional Wiki
< HPL3‎ | SOMA‎ | Scripting‎ | Scripting Api
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

  • asName (tString) — name of level door.

Returns:

  • 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) — name of level door.
  • abState (bool) — true = locked - false = unlocked.

Returns:

  • void