Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DoorComponent Interface Reference
Inheritance diagram for DoorComponent:
[legend]

Public Member Functions

proto external vector GetDoorPivotPointWS ()
 Returns the pivot around which the door open/close in world space.
 
proto external float GetAngleRange ()
 Returns the range angle of the door in radians.
 
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 SetActionInstigator (IEntity instigator)
 Sets the current action instigator.
 
proto external void SetControlValue (float controlValue)
 Sets the control value of the door and updates the wanted state. Automatically clamped to <0, 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.
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Member Function Documentation

◆ CanCharacterPass()

proto external bool DoorComponent.CanCharacterPass ( float  characterWidth)

Returns true if an object of a given size can pass through the door.

◆ GetAngleRange()

proto external float DoorComponent.GetAngleRange ( )

Returns the range angle of the door in radians.

◆ GetControlValue()

proto external float DoorComponent.GetControlValue ( )

Returns the control value of the door ranging from <-1, 1>

◆ GetDoorNormal()

proto external vector DoorComponent.GetDoorNormal ( )

Returns the normal of the door in it's current state.

◆ GetDoorPivotPointWS()

proto external vector DoorComponent.GetDoorPivotPointWS ( )

Returns the pivot around which the door open/close in world space.

◆ GetDoorState()

proto external float DoorComponent.GetDoorState ( )

Returns the current door state.

◆ IsClosing()

proto external bool DoorComponent.IsClosing ( )

Returns true if the door is closing.

◆ IsOpen()

proto external bool DoorComponent.IsOpen ( )

Returns true if the door is open.

◆ IsOpening()

proto external bool DoorComponent.IsOpening ( )

Returns true if the door is opening.

◆ SetActionInstigator()

proto external void DoorComponent.SetActionInstigator ( IEntity  instigator)

Sets the current action instigator.

◆ SetControlValue()

proto external void DoorComponent.SetControlValue ( float  controlValue)

Sets the control value of the door and updates the wanted state. Automatically clamped to <0, 1>


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