function PlaySoundAtPoint takes string f, real x, real y, real p, integer v returns nothing
local sound s = CreateSound( f, false, true, true, 10, 10, "" )
call SetSoundDuration( s, GetSoundFileDuration(f) )
call SetSoundChannel( s, 0 )
call SetSoundVolume( s, v )
call SetSoundPitch( s, p )
call SetSoundPosition(s, x, y, 0)
call StartSound(s)
call KillSoundWhenDone(s)
set s = null
endfunction
Name | Type | is_array | initial_value |
DiveAttackAudioInt | integer | No | |
DiveAttackCanceled | boolean | Yes | |
DiveAttackCaster | unit | Yes | |
DiveAttackChaseDur | real | No | |
DiveAttackCooldownMax | real | No | |
DiveAttackCooldownMin | real | No | |
DiveAttackCooldownTimer | real | Yes | |
DiveAttackDamage | real | Yes | |
DiveAttackDamageMax | real | No | |
DiveAttackDamageMin | real | No | |
DiveAttackDir | real | No | |
DiveAttackDist | real | No | |
DiveAttackGroup | group | No | |
DiveAttackGroupAutocast | group | No | |
DiveAttackHeal | real | Yes | |
DiveAttackHealMultiplier | real | No | |
DiveAttackHeight | real | Yes | |
DiveAttackHeightLoss | real | No | |
DiveAttackIndex | integer | No | |
DiveAttackLocCasterCurrent | location | No | |
DiveAttackLocCasterNew | location | No | |
DiveAttackLocCursor | location | No | |
DiveAttackLoop | integer | No | |
DiveAttackMaxDur | real | Yes | |
DiveAttackMoveSpeed | real | No | |
DiveAttackSpeed | real | Yes | |
DiveAttackSpeedMultiplier | real | No | |
DiveAttackState | integer | Yes | |
DiveAttackTarget | unit | Yes | |
DiveAttackUnit | unit | Yes | |
TempLoc | location | No |