Trigger mp3 (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎top: clean up, replaced: {{Language subpage → {{langsp)
Line 1: Line 1:
{{Language subpage}}It is a trigger that plays a specified mp3 track
{{langsp}}It is a trigger that plays a specified mp3 track
==Application==
==Application==
On Activate - mp3 plays. Plays in a loop - until it stops. To stop - put more one trigger_mp3, where the file path will be empty. Console command stopmp3 - cuts down the currently playing music.
On Activate - mp3 plays. Plays in a loop - until it stops. To stop - put more one trigger_mp3, where the file path will be empty. Console command stopmp3 - cuts down the currently playing music.

Revision as of 02:01, 4 January 2024

English (en)Русский (ru)Translate (Translate)

It is a trigger that plays a specified mp3 track

Application

On Activate - mp3 plays. Plays in a loop - until it stops. To stop - put more one trigger_mp3, where the file path will be empty. Console command stopmp3 - cuts down the currently playing music.

Keyvalues

Targetname ([todo internal name (i)]) <targetname>
Name of entity
Target (Message) <string>
MP3 file to play (empty to stop)