UI (functions)/Speaker Settings
From PMDOWiki
SetSe
Sets the speaker sound effect and speak frames played in the TextDialogue functions.Argument order is UI:SetSe(soundE, speakTime).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| soundE | String | System.String
|
The sound effect of the box |
| speakTime | Integer | System.Int32
|
The amount of frames to wait between each sound effect. Optional. |
Example
UI:SetSe("Battle/_UNK_DUN_Water_Drop", 3)
UI:SetSe("Menu/Unknown-3")
SetSpeakTime
Sets the speak frames played in the TextDialogue functions. Argument order is UI:SetSpeakTime(speakTime).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| speakTime | Integer | System.Int32
|
The amount of frames to wait between each sound effect |
Example
UI:SetSpeakTime(10)
ResetSe
Resets to the default speaker sound effect and speaker frames.
SetSpeakerLoc
Sets the position of the speaker in a dialogue box. Argument order is UI:SetSpeakerLoc(x, y).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| x | Integer | System.Int32
|
The X position |
| y | Integer | System.Int32
|
The Y position |
ResetSpeakerLoc
Resets the position of the speaker in a dialogue box.
SetSpeakerEmotion
Sets the emotion of the speaker in the dialogue box. Argument order is UI:SetSpeakerEmotion(emotion, faceLeft).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| emotion | String | System.String
|
Emotion to display |
| faceLeft | Boolean | System.Boolean
|
Faces right if false, left if true. |
