Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 1: |
Line 1: |
| {{ACSFunction|description=Starts a sound from script's activator, at the given volume. If there's no activating thing, the sound will be ambient.
| | '''ACS function''' |
| |usage=''void'' '''ActivatorSound'''(''str sound'', ''int volume'')
| | |
| |parameters=
| | void ActivatorSound(str sound, int volume) |
| *''sound'': name of sound to play.
| | |
| *''volume'': volume at which to play the sound. Valid range is 0-127.
| | Starts a sound from script's activator, at the given volume. If there's no activating thing, the sound will be ambient. |
| |examples=
| | |
| This causes the activator to make the high-pitched player scream at a moderate volume.
| | [[Category:ACS]] |
| ActivatorSound("pdiehi", 100);
| |
| |notes=The activator can be a thing or a polyobject. If none of these is the activator, then the sound will be ambient.
| |
| |id=ACC internal
| |
| |seealso=
| |
| *[[AmbientSound]]
| |
| *[[ThingSound]]}}
| |