Line 22: | Line 22: | ||
| [[source]] from where the sound file will be used | | [[source]] from where the sound file will be used | ||
* Valid [[source|sources]]: | * Valid [[source|sources]]: | ||
− | ** string | + | ** <code>@string</code> |
− | ** | + | ** <code>@assets</code> |
** [[GnMediaAction]] | ** [[GnMediaAction]] | ||
** [[:Category:Variables|Variables]] | ** [[:Category:Variables|Variables]] |
Revision as of 12:14, 31 March 2017
gn:act_playSoundFromTarget
- Description
- Action used to play sound from various sources when executed.
- If there are multiple sounds in the target, they will be played in order as they are stored in the target.
- Supported file types are
.mp3
&.wav
- Action returns
- void
Action signatures
Play sound
[gn:act_playSoundFromTarget]|[source]
Parameter | Description |
---|---|
source | source from where the sound file will be used
|
Example
@assets/sound.mp3
- asset value
[gn:act_playSoundFromTarget]|[@assets/sound.mp3]