StopSound (script event)

From modwiki

Jump to: navigation, search

Description

Stops a specific sound shader on the channel.

Usage

In your script type...

void stopSound( float channel, float netSync )

Parameters

  • [channel] - The channel to stop sound on.
  • [netSync] - Whether this stop occurs across the network or not.

Examples

 
$my_entity.stopSound(1,1);

Notes

This script event does not return any values.


Personal tools
Main