Arma Reforger Script API
Loading...
Searching...
No Matches
DoorComponent Interface Reference
Inheritance diagram for DoorComponent:
BaseDoorComponent GameComponent

Public Member Functions

proto external float GetAngleRange ()
 
- Public Member Functions inherited from BaseDoorComponent
proto external vector GetDoorPivotPointWS ()
 Returns the pivot around which the door open/close in world space.
 
proto external float GetNormalizedDoorState ()
 Returns the current state of the door in [-1,1] range (negative if door is rotating/moving on the other side)
 
proto external bool CanCharacterPass (float characterWidth)
 Returns true if an object of a given size can pass through the door.
 
proto external bool IsOpen ()
 Returns true if the door is open.
 
proto external bool IsOpening ()
 Returns true if the door is opening.
 
proto external bool IsClosing ()
 Returns true if the door is closing.
 
proto external void SetControlValue (float controlValue, RplId instigator)
 Sets the control value of the door and updates the wanted state. Automatically clamped to <-1, 1>
 
proto external float GetControlValue ()
 Returns the control value of the door ranging from <-1, 1>
 
proto external float GetDoorState ()
 Returns the current door state.
 
proto external vector GetDoorNormal ()
 Returns the normal of the door in it's current state.
 
proto external float UseDoorAction (IEntity user)
 Activate the door by the user.
 
proto external void InitDoor (float controlValue)
 Loads the door state from the control value.
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Member Function Documentation

◆ GetAngleRange()

proto external float DoorComponent.GetAngleRange ( )

The documentation for this interface was generated from the following file: