PlaySound

From ESOUI Wiki

Jump to: navigation, search

This function plays a sound.

Contents

Arguments

soundName
The name of a sound, as a string. The SOUNDS singleton appears to contain all usable sound names; for example, SOUNDS.ITEM_MONEY_CHANGED is the string "Money_Transact".

Example

-- Play the "bag of coins" sound heard when committing a transaction.
--
PlaySound(SOUNDS.ITEM_MONEY_CHANGED)

See also

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox