Skip to content

Audio, Music & Ambience

19 pages · all function themes

Dynamic radio music (jukebox), vehicle music, ambient and situational-awareness audio, menu music, and 3D sound helpers.

FunctionDescription
VN_fnc_ambient_audio_loop Creates and adds a loop to the internal BIS_fnc_loop which will check if any sounds should be playing.
VN_fnc_drm_delete_audio Stops object or player from playing audio.
VN_fnc_drm_localuseractions Adds actions for the DRM system to the object.
vn_fnc_drm_play_clients Plays audio from an object for the client.
VN_fnc_drm_request_audio No description added yet.
VN_fnc_drm_setup_client Sets up audio objects for backpack radio on clients when they join the server.
VN_fnc_drm_setup_server Sets up the DRM channels on the server and sets all the audio clips that can play for each.
VN_fnc_drm_useractions Adds actions for the DRM system which the player interacts with.
VN_fnc_drm_usereventhandlers Adds eventhandlers for all the needed things for DRM.
VN_fnc_initdynamicradiomusic Gathers compatible sounds from cfgsounds then plays them as audio from radios placed around the mission.
VN_fnc_initsituationalawareness Gathers compatible sounds from cfgsounds then plays them to simulate situational awareness for players.
VN_fnc_menu_music Handles main menu music.
VN_fnc_module_ambient_audio No description added yet.
VN_fnc_module_jukebox_disable Disables the jukebox actions for the player
VN_fnc_music Main function for the vehicle music system.
VN_fnc_music_play say3D’s the given audio from the given object, this function is made to be remote executed on clients.
VN_fnc_music_stop Stops audio from playing from the vehicle.
VN_fnc_remoteSay3D Executes say3D on all systems.
VN_fnc_sam_dynamic_audio Play situational awareness audio locally on user’s client based on predefined conditions; works for normal …