HPL3/Amnesia: Rebirth/Scripting/Scripting Api/PhysicsSlideDoor
< HPL3 | Amnesia: Rebirth | Scripting | Scripting Api
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Summary
Return Type | Function and Description |
---|---|
void | PhysicsSlideDoor_AutoMoveToState(const tString &in asName, int alState) Automove physics slide door to a state |
bool | PhysicsSlideDoor_GetClosed(const tString &in asName) Returns true if door is closed |
float | PhysicsSlideDoor_GetOpenAmount(const tString &in asName) Returns the open amount of the door |
void | PhysicsSlideDoor_SetLocked(const tString &in asName, bool abLocked, bool abEffects) Sets the physics slide door as locked or unlocked |
Function Detail
PhysicsSlideDoor_AutoMoveToState
void PhysicsSlideDoor_AutoMoveToState(const tString &in asName,
int alState)
Automove physics slide door to a state.
Parameters
- asName (tString) —
- alState (int) —
Returns:
- void
PhysicsSlideDoor_GetClosed
bool PhysicsSlideDoor_GetClosed(const tString &in asName)
Returns true if door is closed.
Parameters
- asName (tString) —
Returns:
- bool—
PhysicsSlideDoor_GetOpenAmount
float PhysicsSlideDoor_GetOpenAmount(const tString &in asName)
Returns the open amount of the door
Parameters
- asName (tString) —
Returns:
- float—
PhysicsSlideDoor_SetLocked
void PhysicsSlideDoor_SetLocked(const tString &in asName,
bool abLocked,
bool abEffects)
Sets the physics slide door as locked or unlocked
Parameters
- asName (tString) —
- abLocked (bool) —
- abEffects (bool) —
Returns:
- void