Skip to reading
GDScript Programming & Godot

FaceCharacter()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
On this page
Code example
FaceCharacter(target_id: String)

Face the selected target character.

FaceCoordinates()#

Code example
FaceCoordinates(position_value: Variant)

Face a position.

Say()#

Code example
Say(text: String, portrait_id: String = "", voice_asset_id: String = "", voice_key: String =
"")

Await this character’s speech with optional portrait and voice data.

PlayAnimation()#

Code example
PlayAnimation(animation_name: String)

Request this actor’s clip/state. Most imported clip requests return after starting playback.

StopAnimation()#

Code example
StopAnimation()

Stop this actor’s animation.

SetVisible()#

Code example
SetVisible(visible_value: bool)

Set runtime visibility.

SetEnabled()#

Code example
SetEnabled(enabled_value: bool)

Set runtime enabled state.

Page 228 of 378Permalink
Go to page