Difference between revisions of "Load.sound"

From AGI Wiki
Jump to navigationJump to search
Line 20: Line 20:
 
<div class="CodeBlockHeader">Code:</div>
 
<div class="CodeBlockHeader">Code:</div>
 
<syntaxhighlight lang="agi">
 
<syntaxhighlight lang="agi">
load.sound(3);
+
load.sound(3);   //load sound 3
 
</syntaxhighlight>
 
</syntaxhighlight>
  

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); //load sound 3 </syntaxhighlight>

 

Technical Information

 

Sources

 

Also See