Player Class
Constructors
Player.__new()
Player.__new()
Fields
Type | Name | Static | Default | Description |
---|---|---|---|---|
number | Speed | |||
InteractableDetector__instance | Detection | |||
Node3D__instance | UI3D | |||
Inventory__instance | Inventory_UI | |||
Equipment__instance | Equipment_UI | |||
SkillMenu__instance | UI_Skills | |||
DialogueMenu__instance | UI_Dialogue |
Functions
Requires an instance!
SpeakTo(Humanoid)
SpeakTo(target: Humanoid) -> nil
Type | Name | Description |
---|---|---|
Humanoid | target |
Save
Save() -> PlayerData
Load(PlayerData)
Load(data: PlayerData) -> nil
Type | Name | Description |
---|---|---|
PlayerData | data |