Difference between revisions of "ScriptSound"

From Amulets & Armor Wiki
Jump to: navigation, search
 
Line 23: Line 23:
  
 
----
 
----
Back to [[Script]] Main
+
Back to [[Scripting]] Main

Latest revision as of 07:33, 13 November 2015

Sound( [SoundNum] )

Plays a sound to the current player at max volume

Arguments

SoundNum - The object id of the sound to be played.

Example

40:  // open exit door with switch
   ChangeSideTexture(1636,"SWIT1U");
   Sound(6007);
   SlideCeilingNice(129, 0, 120, 50, -1);
   End();

See Also

List of Sounds



Back to Scripting Main