Jump to content
Sign in to follow this  
zuff

How do I use the vanilla alarm sound without triggers?

Recommended Posts

It's a great alarm sound and I'm a bit tired of my standard air siren. Anyone know how to use it with external scripts?

Share this post


Link to post
Share on other sites

To find the name of a stock sound: Open a mission you have saved in the editor. Put a trigger down with the desired sound in the effects, name the trigger something. Then open the mission.sqm and search for the trigger name, the name of the sound should be listed there, now you can just use playSound in a script.

Alarm sounds are "AlarmSfx", "AirAlarmSfx"

Edited by 2nd Ranger

Share this post


Link to post
Share on other sites
To find the name of a stock sound: Open a mission you have saved in the editor. Put a trigger down with the desired sound in the effects, name the trigger something. Then open the mission.sqm and search for the trigger name, the name of the sound should be listed there, now you can just use playSound in a script.

Alarm sounds are "AlarmSfx", "AirAlarmSfx"

Ah! I should have thought to do that! Thanks!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×