UI (functions)/Speaker Settings

From PMDOWiki
Revision as of 03:46, 18 January 2026 by Imbion (talk | contribs) (Created page with "== UI:SetSe(System.String,System.Int32) == Sets the speaker sound effect and speak frames played in the TextDialogue functions. === Arguments === * <code>newSe</code>: The sound effect of the box * <code>speakTime</code>: The amount of frames to wait between each sound effect === Example === <pre> UI:SetSe("Battle/_UNK_DUN_Water_Drop", 3) </pre> == UI:SetSe(System.String) == Sets the speaker sound effect played in the TextDialogue functions. === Arguments =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI:SetSe(System.String,System.Int32)

Sets the speaker sound effect and speak frames played in the TextDialogue functions.


Arguments

  • newSe: The sound effect of the box
  • speakTime: The amount of frames to wait between each sound effect

Example


UI:SetSe("Battle/_UNK_DUN_Water_Drop", 3)

UI:SetSe(System.String)

Sets the speaker sound effect played in the TextDialogue functions.


Arguments

  • newSe: The sound effect of the box

Example


UI:SetSe("Menu/Unknown-3")

UI:SetSpeakTime(System.Int32)

Sets the speak frames played in the TextDialogue functions.


Arguments

  • speakTime: The amount of frames to wait between each sound effect

Example


UI:SetSpeakTime(10)

UI:ResetSe

Resets to the default speaker sound effect and speaker frames.

UI:SetSpeakerLoc(System.Int32,System.Int32)

Sets the position of the speaker in a dialogue box.


Arguments

  • x: The X position
  • y: The Y position

UI:ResetSpeakerLoc

Resets the position of the speaker in a dialogue box.


UI:SetSpeakerEmotion(System.String,System.Boolean)

Sets the emotion of the speaker in the dialogue box.


Arguments

  • emo: Emotion to display
  • reverse: Faces right if false, left if true.