Difference between revisions of "Load.sound"
From AGI Wiki
Jump to navigationJump to searchLine 20: | Line 20: | ||
<div class="CodeBlockHeader">Code:</div> | <div class="CodeBlockHeader">Code:</div> | ||
<syntaxhighlight lang="agi"> | <syntaxhighlight lang="agi"> | ||
− | load.sound( | + | load.sound(3); |
</syntaxhighlight> | </syntaxhighlight> | ||
| | ||
+ | |||
== Technical Information == | == Technical Information == | ||
Revision as of 16:50, 30 December 2013
The load.sound()
command loads the SOUND resource number n, i.e. Sound(n) into memory.
Syntax
load.sound(n);
Description
Sound 'n' is loaded into memory.
Remarks
There is no way of loading a sound with indirection. The command load.sound.v does not exist.
Example
Code:
<syntaxhighlight lang="agi"> load.sound(3); </syntaxhighlight>
Technical Information
Sources
- WinAGI help file
Also See