What it does
SoundInstanceVolumeSet takes instanceID (an integer) and volume (an integer), and returns nothing. instanceID is the id of an Instance object, obtained elsewhere in the Sound family.
Syntax
SoundInstanceVolumeSet(instanceID integer, volume integer)Parameters
| Name | Type |
|---|---|
| instanceID | integer |
| volume | integer |
Every form returns
nothing
Example · generated
SoundInstanceVolumeSet(1, 1)DO Sync()LOOPSoundInstanceVolumeSet is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.