| JASS Tools |
|
Global Variables | Functions That Return | Functions That Take
| |||||||||||
Global variables of type sound:
Functions that return type sound (   common.j,   common.ai,   Blizzard.j):
| native CreateMIDISound (string soundLabel, integer fadeInRate, integer fadeOutRate) returns sound |
| native CreateSound (string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string eaxSetting) returns sound |
| native CreateSoundFilenameWithLabel (string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string SLKEntryName) returns sound |
| native CreateSoundFromLabel (string soundLabel, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate) returns sound |
| function GetLastPlayedSound () returns sound |
| native LoadSoundHandle (hashtable table, integer parentKey, integer childKey) returns sound |
| function LoadSoundHandleBJ (integer key, integer missionKey, hashtable table) returns sound |
Functions that take type sound as a parameter (   common.j,   common.ai,   Blizzard.j):
| native AttachSoundToUnit (sound soundHandle, unit whichUnit) returns nothing |
| function AttachSoundToUnitBJ (sound soundHandle, unit whichUnit) returns nothing |
| function DoTransmissionBasicsXYBJ (integer unitId, playercolor color, real x, real y, sound soundHandle, string unitName, string message, real duration) returns nothing |
| native GetSoundDuration (sound soundHandle) returns integer |
| function GetSoundDurationBJ (sound soundHandle) returns real |
| native GetSoundIsLoading (sound soundHandle) returns boolean |
| native GetSoundIsPlaying (sound soundHandle) returns boolean |
| function GetSoundIsPlayingBJ (sound soundHandle) returns boolean |
| function GetTransmissionDuration (sound soundHandle, integer timeType, real timeVal) returns real |
| native KillSoundWhenDone (sound soundHandle) returns nothing |
| function KillSoundWhenDoneBJ (sound soundHandle) returns nothing |
| function PlaySoundAtPointBJ (sound soundHandle, real volumePercent, location loc, real z) returns nothing |
| function PlaySoundBJ (sound soundHandle) returns nothing |
| function PlaySoundFromOffsetBJ (sound soundHandle, real volumePercent, real startingOffset) returns nothing |
| function PlaySoundOnUnitBJ (sound soundHandle, real volumePercent, unit whichUnit) returns nothing |
| native RegisterStackedSound (sound soundHandle, boolean byPosition, real rectwidth, real rectheight) returns nothing |
| native SaveSoundHandle (hashtable table, integer parentKey, integer childKey, sound whichSound) returns boolean |
| function SaveSoundHandleBJ (sound whichSound, integer key, integer missionKey, hashtable table) returns boolean |
| function SetCinematicSceneBJ (sound soundHandle, integer portraitUnitId, playercolor color, string speakerTitle, string text, real sceneDuration, real voiceoverDuration) returns nothing |
| native SetSoundChannel (sound soundHandle, integer channel) returns nothing |
| native SetSoundConeAngles (sound soundHandle, real inside, real outside, integer outsideVolume) returns nothing |
| function SetSoundConeAnglesBJ (sound soundHandle, real inside, real outside, real outsideVolumePercent) returns nothing |
| native SetSoundConeOrientation (sound soundHandle, real x, real y, real z) returns nothing |
| native SetSoundDistanceCutoff (sound soundHandle, real cutoff) returns nothing |
| function SetSoundDistanceCutoffBJ (sound soundHandle, real cutoff) returns nothing |
| native SetSoundDistances (sound soundHandle, real minDist, real maxDist) returns nothing |
| native SetSoundDuration (sound soundHandle, integer duration) returns nothing |
| function SetSoundOffsetBJ (real newOffset, sound soundHandle) returns nothing |
| native SetSoundParamsFromLabel (sound soundHandle, string soundLabel) returns nothing |
| native SetSoundPitch (sound soundHandle, real pitch) returns nothing |
| function SetSoundPitchBJ (sound soundHandle, real pitch) returns nothing |
| native SetSoundPlayPosition (sound soundHandle, integer millisecs) returns nothing |
| native SetSoundPosition (sound soundHandle, real x, real y, real z) returns nothing |
| function SetSoundPositionLocBJ (sound soundHandle, location loc, real z) returns nothing |
| native SetSoundVelocity (sound soundHandle, real x, real y, real z) returns nothing |
| native SetSoundVolume (sound soundHandle, integer volume) returns nothing |
| function SetSoundVolumeBJ (sound soundHandle, real volumePercent) returns nothing |
| function SetStackedSoundBJ (boolean add, sound soundHandle, rect r) returns nothing |
| native StartSound (sound soundHandle) returns nothing |
| function StartSoundForPlayerBJ (player whichPlayer, sound soundHandle) returns nothing |
| native StopSound (sound soundHandle, boolean killWhenDone, boolean fadeOut) returns nothing |
| function StopSoundBJ (sound soundHandle, boolean fadeOut) returns nothing |
| function TransmissionFromUnitTypeWithNameBJ (force toForce, player fromPlayer, integer unitId, string unitName, location loc, sound soundHandle, string message, integer timeType, real timeVal, boolean wait) returns nothing |
| function TransmissionFromUnitWithNameBJ (force toForce, unit whichUnit, string unitName, sound soundHandle, string message, integer timeType, real timeVal, boolean wait) returns nothing |
| native TriggerWaitForSound (sound s, real offset) returns nothing |
| native UnregisterStackedSound (sound soundHandle, boolean byPosition, real rectwidth, real rectheight) returns nothing |
| function WaitForSoundBJ (sound soundHandle, real offset) returns nothing |
| function WaitTransmissionDuration (sound soundHandle, integer timeType, real timeVal) returns nothing |
![]()
| Copyright (c) 2003 Jeff Pang Not affiliated or endorsed by Blizzard Entertainment |
|