@se
Play a sound effect
- Built-in
- Can be written without the name
file
filter
loop
When played, the sample game uses its own assets and character names.
Parameters
fileRequiredAsset (sound)
Audio file
channelInteger (0 or more)
Default: 0Playback channel. A sound on the same channel replaces the previous one
volumeInteger (0 to 100)
Default: 100Volume (0 to 100)
timeTime (300ms, 1.5s)
Default: 0msFade-in time
looptrue / false
Default: falseLoop
panInteger (-100 to 100)
Default: 0Stereo position (-100 is left, 100 is right)
rateNumber (0.1 to 4)
Default: 1Playback speed (1 is normal; the pitch changes too)
captionText
Caption (shown to players who turn on sound captions in Settings). If omitted, the caption from ui.captions.sounds in liminalia.json
filternone / muffled / phone / radio / hall
Sound filter (muffled, phone for over the phone, radio, hall for hall reverb; none for no filter) for the sound effect
filter-strengthInteger (0 to 100)
Default: 100Filter strength (0 to 100; mixed with the original sound)
filter-fadeTime (300ms, 1.5s)
Default: 0msTime to apply or remove the filter
Guides that use this command
- Layer and loop sound effectsLayer sound effects on separate channels, play them on a loop, and stop them
- Reuse scenes and effectsReuse scenes with calls, bundle effects into macros, and turn them into favorite parts
- Run a single line on a conditionWrite if=(expression) at the end of a command line, and skip that line when the condition isn't met
- Make the game easier for everyone to playSettings players can choose, such as read aloud, large text, reduced screen shake and flashing lights, high contrast and sound captions, and what to prepare in the project
- An example of building with AIA record of actually calling the MCP server's tools in order, from creating a project to adding a scene, running the syntax check, taking screenshots and checking how the scenes connect
From TyranoScript
When you import with lim import, these tags become this command:
How each attribute converts, and what isn't converted, is in TyranoScript import.