Humanoid Class

Humanoid entities

Constructors

Humanoid.__new()

Humanoid.__new()

Properties

Type Getter Setter Static Default Description
CharacterBody get_Body() set_Body(val)
CharacterData get_Data() set_Data(val)
DialogueTopic get_NoTopicAvailableTopic() set_NoTopicAvailableTopic(val)
Color get_SkinColor() set_SkinColor(val)
Area3D get_VisionDetection() set_VisionDetection(val)

Functions

Requires an instance!

Speak(string)

Speak(message: string) -> nil
Type Name Description
string message

GetAvailableTopics(Entity)

GetAvailableTopics(requestor: Entity) -> DialogueTopic[]
Type Name Description
Entity requestor

TryStartDialogue(Entity,DialogueTopic[]&)

TryStartDialogue(requestor: Entity,topics: DialogueTopic[]&) -> boolean
Type Name Description
Entity requestor
DialogueTopic[]& topics

OnSheathWeapon

OnSheathWeapon() -> nil

CanInteract(Entity)

CanInteract(requester: Entity) -> boolean
Type Name Description
Entity requester

GetActions(Entity)

GetActions(requester: Entity) -> List__InteractableAction
Type Name Description
Entity requester

ShowOutline(Color)

ShowOutline(color: Color) -> nil
Type Name Description
Color color

HideOutline

HideOutline() -> nil

OnSpokenTo(Entity,Topic,fun(arg: Comment))

OnSpokenTo(requester: Entity,topic: Topic,onDialogueFinished: fun(arg: Comment)) -> nil
Type Name Description
Entity requester
Topic topic
fun(arg: Comment) onDialogueFinished

Categories:

Generated: