Player

Módulo requerido

Componentes y propiedades

Nombre Descripción
Character skill[Obsoleto] (Deprecated, please do not use)
Skill ID Character Skill ID
Game entity.Enable Player Revive Disable player resurrection if off
Game entity.Enable Bot Revive Disable Bot resurrection if off
Game entity.Revival CD Resurrection time in seconds
Game entity.Revival type Revival Type
Game entity.Enable Move Enable Move
Player State Type Player state type
Player Pose Type Player Stance Types
Gender Type Gender enumeration
Player.Player Status Player Status
Player.Movement status (Deprecated, please do not use)
Player.Sprint status (Deprecated, please do not use)
Player.Attack status (Deprecated, please do not use)
Player.Jump status (Deprecated, please do not use)
Player.Gender Gender
Player.Skeleton The node used to access the skinned rigs
Player.Knockdown Status Handling of knockdown status
Player.Show Damage Number Whether to enable damage skipping, the default is True, which means it’s enabled.
Knock-down Type How knockdown status is handled
Player Revival Source Type Resurrection source type: death, fall down
Player Behavior Type Behavior types
Player Behavior Status Type Player Behavior Status Type
Skeleton[Obsoleto] (Deprecated, please do not use)
Player UI type Player UI type
Skeleton Nodes used to access skinned rigs
Equipment Accessory Equipment Accessory
Player or Vehicle Alias to refer to player entity, vehicle entity type

Event

Nombre Descripción
On Player Quit Triggered when a player quits
On Player Join Triggered when a player joins the game
On Player Revived Triggered when a player is respwaned
On Revived Triggered when the player respwans
On Disconnect Triggered when a player disconnects
On Reconnect Triggered when a player reconnects
On Attack Triggered when the player presses the fire button
On Jump Triggered when the player jumps
On Jump Stop Triggered when the player finishes jumping.
On Fall Triggered when the player falls
On Fall Stop Triggered when the player finishes falling.
On Crouch Triggered when the player crouches
On Prone Triggered when the player goes prone
On Sprint Triggered when the player sprints
On Move Triggered when the player moves
On Idle Triggered when the player is idle
On Use Avatar Skill Triggered when the player uses a skill
On Stand Up Triggered when the player stands up from any other posture
On Surfing Triggered when the player uses a wakeboard
On Surfing Stop Triggered when the player stops using the wakeboard
On Sprint Stop Triggered when the player ends a sprint

API

Nombre Descripción
Add HP Restore health to the designated player without exceeding the health limit
Teleport Teleport the target to a specified location
Get random spawn coordinates[Obsoleto] Get the available coordinates of the random spawn point that is currently available but not fully occupied (deprecated, please use GetRandomSpawnPosition)
Get Random Spawn Position Get the coordinates of a random spawn point, which will only be randomly selected from available spawn points that are not fully occupied
Revive Resurrecting a Designated Player
Set Behavior Status Set the player’s behavior state
Play Character Animation Clip Play character animations, support custom animation resources
Play Character Animation Clip Override Play a character animation clip with the option to override the game’s default animation
Set Character Sets the character resource of the specified player
Set Forward Set the player’s direction
Set Skills Set the target player’s skill list
Get Skills Get the target player’s skill list
Quit Game Kick the target player out of the game
Skeleton scale[Obsoleto] (Obsolete, do not use, see the property :Skeleton for related information)
Hit Fly Give the player a knock-up effect. The target player will fall at a fixed acceleration, and will be forced to stop after a collision in the air.
Set Default UI Status Set the target player’s default interface visibility
Request Match Making The target player requests to match the specified map
Set Falling Damage Set the player’s fall damage, and set different damage according to the height segment
Exit Vehicle Force the targeted player to leave the vehicle
Get Local Aim Direction Get the player’s local aiming direction
Start Parachute Start parachuting