Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 546 Bytes

DoorSystemSetOpenRatio.md

File metadata and controls

22 lines (18 loc) · 546 Bytes
ns aliases
OBJECT
0xB6E6FBA95C7324AC
_SET_DOOR_AJAR_ANGLE

DOOR_SYSTEM_SET_OPEN_RATIO

// 0xB6E6FBA95C7324AC 0x34883DE3
void DOOR_SYSTEM_SET_OPEN_RATIO(Hash doorHash, float ajar, BOOL requestDoor, BOOL forceUpdate);
Sets the ajar angle of a door.
Ranges from -1.0 to 1.0, and 0.0 is closed / default.

Parameters

  • doorHash: Door system identifier
  • ajar:
  • requestDoor:
  • forceUpdate: On true invokes DOOR_SYSTEM_SET_DOOR_STATE; otherwise requestDoor is unused.