1049 {
1050 if ( !
g_Game.IsHeadlessOrDedicatedServer() )
1051 {
1052 EffectSound eff;
1053
1054 if ( fireMode == 0 )
1055 eff = SEffectManager.PlaySound(
"Fire_Mode_Switch_Marked_Click_SoundSet",
GetPosition());
1056 else
1057 eff = SEffectManager.PlaySound(
"Fire_Mode_Switch_Simple_Click_SoundSet",
GetPosition());
1058
1060 }
1061
1063 }
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
vector GetPosition()
Get the world position of the Effect.