Trigger mp3 (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Language subpage}} {{entity|trigger_mp3|<!--sprite=1-->|type=brush|engine=gldsrc|game=Paranoia}} Which play mp3 tracks. == Application == Activate - mp3 plays. Plays in a l...")
 
mNo edit summary
Line 1: Line 1:
{{Language subpage}}
{{Language subpage}}It is a trigger that plays a specified mp3 track
{{entity|trigger_mp3|<!--sprite=1-->|type=brush|engine=gldsrc|game=Paranoia}} Which play mp3 tracks.
==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.
== Application ==
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==
==Keyvalues==
{{KV|Targetname|targetname|Name of entity}}
{{KV|Targetname|targetname|Name of entity}}
{{KV|Target|intn=Message|string|MP3 file to play (empty to stop)}}
{{KV|Target|intn=Message|string|MP3 file to play (empty to stop)}}
<Your content>

Revision as of 08:37, 11 December 2023

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)