Situational Awareness Module

From Savage Game Design Wiki
Jump to navigation Jump to search

Situational Awareness module

This page will guide you through adding the Situational Awareness module to your mission.

This module gives players a basic sense of situational awareness by making AI units speak audio lines, allowing players to know their location from audio alone.

Eden Editor

To add the module to your mission all you need to do is place the module Enable Ambient Voices into your mission.

This module does not have any attributes.

Configuration Files

There are no configuration files for this module.

Scripting

Events

Scripted event will be emitted for units ambient audio cues (only on clients)

[missionNamespace, "vn_sam_dynamic_audio_play", {
    // _type is one of "close", "far", "close_tunnel"
    params ["_unit", "_soundName", "_type"];
}] call BIS_fnc_addScriptedEventHandler;