User Tools

Site Tools


sound_func
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


sound_func [2022/09/03 23:25] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Scripting - Sound data and function ======
 +Here can find some information about Enhanced Scripting function and data misc!
 +
 +===== Debug =====
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Sound Logging**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | Sound.Log(bool)
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" |Log a message to sysmessage every time a sound is played.
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +|void
 +|-
 +|**In Object:**
 +|Sound
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +|bool True/False True - Enable logging False - Disable logging
 +
 +|}
 +
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Wait For Sound**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | Sound.WaitForSound(List[Int32] soundIds, timeout=-1)
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" |Wait for a sound to be played that the id is in the list of soundIds provided
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +| True - Sound played, False timeout occurred
 +|-
 +|**In Object:**
 +|Sound
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +|List[Int32] soundIds, int timeout
 +
 +|}
 +
  
sound_func.txt · Last modified: 2022/09/03 23:25 by 127.0.0.1

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the gitbacked plugin.

More info has been written to the DokuWiki error log.