Skip to main content

Execute_SetDoorPrivilege

Description

Grants or revokes the specified character's door passage privilege. A non-zero value for F1 grants the privilege; zero revokes it.

Parameters

ParameterDescription
BaseObjectThe character to modify door privilege for (Self or Target).
F1Non-zero to grant door passage privilege; 0 to revoke it.

Examples

DescriptionBaseObjectCommandF1
Grant Self door access privilegeSelfSetDoorPrivilege1
Revoke Self door access privilegeSelfSetDoorPrivilege0
Grant Target door access privilegeTargetSetDoorPrivilege1