type sound extends agent
native LoadSoundHandle takes hashtable table, integer parentKey, integer childKey returns sound
native CreateSound takes string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string eaxSetting returns sound
native CreateSoundFilenameWithLabel takes string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string SLKEntryName returns sound
native CreateSoundFromLabel takes string soundLabel, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate returns sound
native CreateMIDISound takes string soundLabel, integer fadeInRate, integer fadeOutRate returns sound
native StartSound takes sound soundHandle returns nothing
native KillSoundWhenDone takes sound soundHandle returns nothing
native GetSoundDuration takes sound soundHandle returns integer
native GetSoundIsPlaying takes sound soundHandle returns boolean
native GetSoundIsLoading takes sound soundHandle returns boolean
native GetDialogueSpeakerNameKey takes sound soundHandle returns string
native GetDialogueTextKey takes sound soundHandle returns string
sound bj_dayAmbientSound = null
sound bj_nightAmbientSound = null
sound bj_dawnSound = null
sound bj_duskSound = null
sound bj_rescueSound = null
sound bj_questDiscoveredSound = null
sound bj_questUpdatedSound = null
sound bj_questCompletedSound = null
sound bj_questFailedSound = null
sound bj_questHintSound = null
sound bj_questSecretSound = null
sound bj_questItemAcquiredSound = null
sound bj_questWarningSound = null
sound bj_victoryDialogSound = null
sound bj_defeatDialogSound = null
sound bj_cineSceneLastSound = null
sound bj_lastPlayedSound = null
function PlaySoundBJ takes sound soundHandle returns nothing
function KillSoundWhenDoneBJ takes sound soundHandle returns nothing
function GetSoundDurationBJ takes sound soundHandle returns real
function GetLastPlayedSound takes nothing returns sound
function GetSoundIsPlayingBJ takes sound soundHandle returns boolean
function LoadSoundHandleBJ takes integer key, integer missionKey, hashtable table returns sound
type soundtype extends handle
native TriggerWaitForSound takes sound s, real offset returns nothing
native SetSoundParamsFromLabel takes sound soundHandle, string soundLabel returns nothing
native SetSoundDistanceCutoff takes sound soundHandle, real cutoff returns nothing
native SetSoundChannel takes sound soundHandle, integer channel returns nothing
native SetSoundVolume takes sound soundHandle, integer volume returns nothing
native SetSoundPitch takes sound soundHandle, real pitch returns nothing
native SetSoundPlayPosition takes sound soundHandle, integer millisecs returns nothing
native AttachSoundToUnit takes sound soundHandle, unit whichUnit returns nothing
native SetSoundDuration takes sound soundHandle, integer duration returns nothing
native SetSoundFacialAnimationLabel takes sound soundHandle, string animationLabel returns boolean
native SetSoundFacialAnimationGroupLabel takes sound soundHandle, string groupLabel returns boolean
native SetSoundFacialAnimationSetFilepath takes sound soundHandle, string animationSetFilepath returns boolean
native SetDialogueSpeakerNameKey takes sound soundHandle, string speakerName returns boolean
native SetDialogueTextKey takes sound soundHandle, string dialogueText returns boolean
function StopSoundBJ takes sound soundHandle, boolean fadeOut returns nothing
function SetSoundVolumeBJ takes sound soundHandle, real volumePercent returns nothing
function SetSoundOffsetBJ takes real newOffset, sound soundHandle returns nothing
function SetSoundDistanceCutoffBJ takes sound soundHandle, real cutoff returns nothing
function SetSoundPitchBJ takes sound soundHandle, real pitch returns nothing
function AttachSoundToUnitBJ takes sound soundHandle, unit whichUnit returns nothing
function WaitForSoundBJ takes sound soundHandle, real offset returns nothing
function StartSoundForPlayerBJ takes player whichPlayer, sound soundHandle returns nothing
native SetSoundDistances takes sound soundHandle, real minDist, real maxDist returns nothing
native StopSound takes sound soundHandle, boolean killWhenDone, boolean fadeOut returns nothing
function SetSoundPositionLocBJ takes sound soundHandle, location loc, real z returns nothing
function PlaySoundOnUnitBJ takes sound soundHandle, real volumePercent, unit whichUnit returns nothing
function PlaySoundFromOffsetBJ takes sound soundHandle, real volumePercent, real startingOffset returns nothing
function SetStackedSoundBJ takes boolean add, sound soundHandle, rect r returns nothing
function GetTransmissionDuration takes sound soundHandle, integer timeType, real timeVal returns real
function WaitTransmissionDuration takes sound soundHandle, integer timeType, real timeVal returns nothing
native RegisterStackedSound takes sound soundHandle, boolean byPosition, real rectwidth, real rectheight returns nothing
native UnregisterStackedSound takes sound soundHandle, boolean byPosition, real rectwidth, real rectheight returns nothing
boolean bj_useDawnDuskSounds = true
function AdjustCameraBoundsBJ takes integer adjustMethod, real dxWest, real dxEast, real dyNorth, real dySouth returns nothing
native SaveSoundHandle takes hashtable table, integer parentKey, integer childKey, sound whichSound returns boolean
native SetSoundConeAngles takes sound soundHandle, real inside, real outside, integer outsideVolume returns nothing
native SetSoundConeOrientation takes sound soundHandle, real x, real y, real z returns nothing
native SetSoundPosition takes sound soundHandle, real x, real y, real z returns nothing
native SetSoundVelocity takes sound soundHandle, real x, real y, real z returns nothing
function SetSoundConeAnglesBJ takes sound soundHandle, real inside, real outside, real outsideVolumePercent returns nothing
function PlaySoundAtPointBJ takes sound soundHandle, real volumePercent, location loc, real z returns nothing
function SaveSoundHandleBJ takes sound whichSound, integer key, integer missionKey, hashtable table returns boolean
function AdjustCameraBoundsForPlayerBJ takes integer adjustMethod, player whichPlayer, real dxWest, real dxEast, real dyNorth, real dySouth returns nothing
native GetHandleId takes handle h returns integer
function GetHandleIdBJ takes handle h returns integer
native GroupEnumUnitsInRectCounted takes group whichGroup, rect r, boolexpr filter, integer countLimit returns nothing
native GroupEnumUnitsInRangeCounted takes group whichGroup, real x, real y, real radius, boolexpr filter, integer countLimit returns nothing
native ForceEnumPlayersCounted takes force whichForce, boolexpr filter, integer countLimit returns nothing
native GetAbilitySound takes string abilityString, soundtype t returns string
function PlaySound takes string soundName returns nothing
function SetAmbientDaySound takes string inLabel returns nothing
function SetAmbientNightSound takes string inLabel returns nothing
native SetCameraBounds takes real x1, real y1, real x2, real y2, real x3, real y3, real x4, real y4 returns nothing
function InitDNCSounds takes nothing returns nothing
function GetAbilitySoundBJ takes integer abilcode, soundtype t returns string
constant native ConvertSoundType takes integer i returns soundtype
native GetAbilitySoundById takes integer abilityId, soundtype t returns string
trigger bj_dncSoundsDay = null
function SetDNCSoundsDay takes nothing returns nothing
trigger bj_dncSoundsDawn = null
trigger bj_dncSoundsDusk = null
function SetDNCSoundsDawn takes nothing returns nothing
function SetDNCSoundsDusk takes nothing returns nothing