Set Behavior Status

Player
Server Side
Both Mobile and PC

Set the player's behavior state

Declaration

func SetBehaviorStatus(target entity<Player>, type PlayerBehaviorType, status PlayerBehaviorStatusType)
go

Parameters

Input

Name Type Description
Target Player Target Player
Type PlayerBehaviorType Player behavior type
Status PlayerBehaviorStatus Enable: HUD button exists and it can be used normally
Disable: The HUD button is disabled and cannot be actively or passively entered into this behavior state
Block: The HUD button is hidden and cannot be actively entered into this behavior state, but c