# Play Sound At Point (Deprecated)

Grammar — Play soundLink for players at location with Z offset height|Z (at volume% volume, skip the first offset seconds)
FlagsAction | Hidden

Plays a sound at a point for the specified player group. Use the “Last Played Sound” function to refer to this sound.

# Arguments

  • soundlink — Sound Link
  • playergroup — Players
  • point — Location
  • fixed — Height
  • fixed — Volume
  • fixed — Offset

Returns — void

void SoundPlayAtPoint(
	soundlink lp_soundLink,
	playergroup lp_players,
	point lp_location,
	fixed lp_height,
	fixed lp_volume,
	fixed lp_offset,
);

Category: Sound / Deprecated

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L4708
SoundPlayAtPoint(SoundLink("LostViking_CarrierBirth", -1), PlayerGroupAll(), lv_spawnLoc, 8.0, 100.0, 0.0)
// L335
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0)
// L338
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0)
// L1164
SoundPlayAtPoint(SoundLink("Mothership_Birth", -1), PlayerGroupAll(), UnitGetPosition(gv_purifier), 0.0, 100.0, 0.0)
// L6660
SoundPlayAtPoint(SoundLink("Emitter_CrowdSmallCheeringHanson3a", -1), PlayerGroupAll(), RegionGetCenter(RegionFromId(21)), 0.5, 100.0, 0.0)
// L2442
SoundPlayAtPoint(SoundLink("Emitter_CrowdPanic", -1), PlayerGroupAll(), Point(80.0, 80.0), 0.0, 100.0, 0.0)
// L6330
SoundPlayAtPoint(SoundLink("Emitter_CrowdCheering", -1), PlayerGroupAll(), Point(80.0, 80.0), 0.0, 100.0, 0.0)
// L1912
SoundPlayAtPoint(SoundLink("UI_TerranKlaxonAlert", 0), PlayerGroupAll(), PointFromId(176), 0.0, 100.0, 0.0)
// L12307
SoundPlayAtPoint(SoundLink("UI_TerranKlaxonAlert", 0), PlayerGroupAll(), PointFromId(473), 0.0, 100.0, 0.0)
// L5576
SoundPlayAtPoint(SoundLink("Emitter_CrowdSmallDiscussion", -1), PlayerGroupAll(), Point(41.0, 83.0), 0.0, 100.0, 0.0)
// L5598
SoundPlayAtPoint(SoundLink("Emitter_CrowdGasp", -1), PlayerGroupAll(), Point(41.0, 83.0), 0.0, 100.0, 0.0)
// L8348
SoundPlayAtPoint(SoundLink("Emitter_HyperionBridgeRadioBanter01", -1), PlayerGroupAll(), PointFromId(538), 0.0, 100.0, 0.0)
// L8354
SoundPlayAtPoint(SoundLink("Emitter_HyperionBridgeRadioBanter02", -1), PlayerGroupAll(), PointFromId(668), 0.0, 100.0, 0.0)
// L8360
SoundPlayAtPoint(SoundLink("Emitter_HyperionBridgeRadioBanter03", -1), PlayerGroupAll(), PointFromId(669), 0.0, 100.0, 0.0)
// L8408
SoundPlayAtPoint(SoundLink("Emitter_CantinaWallaLeft", -1), PlayerGroupAll(), PointFromId(1062), 0.0, 100.0, 0.0)
// L8414
SoundPlayAtPoint(SoundLink("Emitter_CantinaWallaRight", -1), PlayerGroupAll(), PointFromId(1063), 0.0, 100.0, 0.0)
// L9115
SoundPlayAtPoint(SoundLink("SetPiece_HyperionDoor01_Open", -1), PlayerGroupAll(), PointFromId(120), 0.0, 100.0, 0.0)
// L9118
SoundPlayAtPoint(SoundLink("SetPiece_HyperionDoor01_Open", -1), PlayerGroupAll(), PointFromId(51), 0.0, 100.0, 0.0)
// L9121
SoundPlayAtPoint(SoundLink("Lab_Intro_Doors_Open", -1), PlayerGroupAll(), PointFromId(251), 0.0, 100.0, 0.0)
// L9124
SoundPlayAtPoint(SoundLink("ArmoryIntro_DoorOpen", -1), PlayerGroupAll(), PointFromId(399), 0.0, 100.0, 0.0)
// L9152
SoundPlayAtPoint(SoundLink("SetPiece_HyperionDoor01_Close", -1), PlayerGroupAll(), PointFromId(120), 0.0, 100.0, 0.0)
// L4163
SoundPlayAtPoint(SoundLink("UI_TipSelect", -1), PlayerGroupAll(), libNtve_gf_CenterOfUnitGroup(lv_initialMarineGroup), 0.0, 100.0, 0.0)
// L1774
SoundPlayAtPoint(SoundLink("Thor_Movement", -1), PlayerGroupAll(), UnitGetPosition(auto6C9C88B3_var), 0.0, 100.0, 0.0)
// L1860
SoundPlayAtPoint(SoundLink("Thor_Movement", -1), PlayerGroupAll(), UnitGetPosition(autoDC337D76_var), 0.0, 100.0, 0.0)
// L1909
SoundPlayAtPoint(SoundLink("Doodad_ArtifactShrine_Activate", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0)
// L2062
SoundPlayAtPoint(SoundLink("Thor_Movement", -1), PlayerGroupAll(), UnitGetPosition(EventUnit()), 0.0, 100.0, 0.0)
// L2072
SoundPlayAtPoint(SoundLink("Doodad_ArtifactShrine_Deactivate", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0)
// L2104
SoundPlayAtPoint(SoundLink("Doodad_ArtifactShrine_Deactivate", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0)
// L2112
SoundPlayAtPoint(SoundLink("Overlord_Load", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0)
// L5098
SoundPlayAtPoint(SoundLink("Medivac_Load", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 16.0, 100.0, 0.0)
// L822
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0)
// L838
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0)
// L856
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0)
// L1396
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0)
// L1412
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0)
// L1427
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0)
// L6257
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitGetPosition(UnitLastCreated()), 8.0, 100.0, 0.0)
// L4679
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_unit), 1.0, 100.0, 0.0)
// L8441
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_unit), 1.0, 100.0, 0.0)
// L11807
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydusWorm), 1.0, 100.0, 0.0)
// L12236
SoundPlayAtPoint(SoundLink("TArmoryCraneStand03", 0), PlayerGroupAll(), UnitGetPosition(lv_lOCAL_NukeUnit), 8.0, 100.0, 0.0)
// L3100
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", 0), PlayerGroupAll(), UnitGetPosition(UnitLastCreated()), 0.0, 100.0, 0.0)
// L3551
SoundPlayAtPoint(SoundLink("CreepTumor_Explode", 5), PlayerGroupAll(), PointFromId(132), 16.0, 100.0, 0.0)
// L1696
SoundPlayAtPoint(SoundLink("Uni_RockExplosionLarge", 1), PlayerGroupAll(), PointFromId(20), 16.0, 100.0, 0.0)
// L2163
SoundPlayAtPoint(SoundLink("Uni_RockExplosionLarge", 1), PlayerGroupAll(), PointFromId(216), 16.0, 100.0, 0.0)
// L2411
SoundPlayAtPoint(SoundLink("Mutalisk_Attack", 4), PlayerGroupAll(), UnitGetPosition(gv_tHEONEZERATUL), 0.0, 100.0, 0.0)
// L2532
SoundPlayAtPoint(SoundLink("Mutalisk_Attack", 9), PlayerGroupAll(), UnitGetPosition(gv_tHEONEZERATUL), 0.0, 100.0, 0.0)
// L3238
SoundPlayAtPoint(SoundLink("Mutalisk_Attack", 2), PlayerGroupAll(), UnitGetPosition(gv_tHEONEZERATUL), 0.0, 100.0, 0.0)
// L3346
SoundPlayAtPoint(SoundLink("Mutalisk_Attack", 9), PlayerGroupAll(), UnitGetPosition(gv_tHEONEZERATUL), 0.0, 100.0, 0.0)
// L4158
SoundPlayAtPoint(SoundLink("Uni_RockExplosionLarge", 1), PlayerGroupAll(), PointFromId(472), 16.0, 100.0, 0.0)
// L4310
SoundPlayAtPoint(SoundLink("Uni_RockExplosionLarge", 1), PlayerGroupAll(), PointFromId(751), 16.0, 100.0, 0.0)
// L5304
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydusUnit), 1.0, 100.0, 0.0)
// L5325
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydusUnit), 1.0, 100.0, 0.0)
// L1563
SoundPlayAtPoint(gv_soundHybridWarpIn, PlayerGroupAll(), PointFromId(181), 0.0, 100.0, 0.0)
// L4347
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", 0), PlayerGroupAll(), UnitGetPosition(UnitLastCreated()), 0.0, 100.0, 0.0)
// L4351
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_unit), 1.0, 100.0, 0.0)
// L4371
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_unit), 1.0, 100.0, 0.0)
// L4421
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", 0), PlayerGroupAll(), UnitGetPosition(UnitLastCreated()), 0.0, 100.0, 0.0)
// L4425
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_unit), 1.0, 100.0, 0.0)
// L4437
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_unit), 1.0, 100.0, 0.0)
// L4708
SoundPlayAtPoint(SoundLink("LostViking_CarrierBirth", -1), PlayerGroupAll(), lv_spawnLoc, 8.0, 100.0, 0.0)
// L335
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0)
// L338
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0)
// L1164
SoundPlayAtPoint(SoundLink("Mothership_Birth", -1), PlayerGroupAll(), UnitGetPosition(gv_purifier), 0.0, 100.0, 0.0)
// L6660
SoundPlayAtPoint(SoundLink("Emitter_CrowdSmallCheeringHanson3a", -1), PlayerGroupAll(), RegionGetCenter(RegionFromId(21)), 0.5, 100.0, 0.0)
// L2442
SoundPlayAtPoint(SoundLink("Emitter_CrowdPanic", -1), PlayerGroupAll(), Point(80.0, 80.0), 0.0, 100.0, 0.0)
// L6330
SoundPlayAtPoint(SoundLink("Emitter_CrowdCheering", -1), PlayerGroupAll(), Point(80.0, 80.0), 0.0, 100.0, 0.0)
// L1912
SoundPlayAtPoint(SoundLink("UI_TerranKlaxonAlert", 0), PlayerGroupAll(), PointFromId(176), 0.0, 100.0, 0.0)
// L12307
SoundPlayAtPoint(SoundLink("UI_TerranKlaxonAlert", 0), PlayerGroupAll(), PointFromId(473), 0.0, 100.0, 0.0)
// L5576
SoundPlayAtPoint(SoundLink("Emitter_CrowdSmallDiscussion", -1), PlayerGroupAll(), Point(41.0, 83.0), 0.0, 100.0, 0.0)
// L5598
SoundPlayAtPoint(SoundLink("Emitter_CrowdGasp", -1), PlayerGroupAll(), Point(41.0, 83.0), 0.0, 100.0, 0.0)
// L8348
SoundPlayAtPoint(SoundLink("Emitter_HyperionBridgeRadioBanter01", -1), PlayerGroupAll(), PointFromId(538), 0.0, 100.0, 0.0)
// L8354
SoundPlayAtPoint(SoundLink("Emitter_HyperionBridgeRadioBanter02", -1), PlayerGroupAll(), PointFromId(668), 0.0, 100.0, 0.0)
// L8360
SoundPlayAtPoint(SoundLink("Emitter_HyperionBridgeRadioBanter03", -1), PlayerGroupAll(), PointFromId(669), 0.0, 100.0, 0.0)
// L8408
SoundPlayAtPoint(SoundLink("Emitter_CantinaWallaLeft", -1), PlayerGroupAll(), PointFromId(1062), 0.0, 100.0, 0.0)
// L8414
SoundPlayAtPoint(SoundLink("Emitter_CantinaWallaRight", -1), PlayerGroupAll(), PointFromId(1063), 0.0, 100.0, 0.0)
// L9115
SoundPlayAtPoint(SoundLink("SetPiece_HyperionDoor01_Open", -1), PlayerGroupAll(), PointFromId(120), 0.0, 100.0, 0.0)
// L9118
SoundPlayAtPoint(SoundLink("SetPiece_HyperionDoor01_Open", -1), PlayerGroupAll(), PointFromId(51), 0.0, 100.0, 0.0)
// L9121
SoundPlayAtPoint(SoundLink("Lab_Intro_Doors_Open", -1), PlayerGroupAll(), PointFromId(251), 0.0, 100.0, 0.0)
// L9124
SoundPlayAtPoint(SoundLink("ArmoryIntro_DoorOpen", -1), PlayerGroupAll(), PointFromId(399), 0.0, 100.0, 0.0)
// L9152
SoundPlayAtPoint(SoundLink("SetPiece_HyperionDoor01_Close", -1), PlayerGroupAll(), PointFromId(120), 0.0, 100.0, 0.0)
// L4163
SoundPlayAtPoint(SoundLink("UI_TipSelect", -1), PlayerGroupAll(), libNtve_gf_CenterOfUnitGroup(lv_initialMarineGroup), 0.0, 100.0, 0.0)
// L1774
SoundPlayAtPoint(SoundLink("Thor_Movement", -1), PlayerGroupAll(), UnitGetPosition(auto6C9C88B3_var), 0.0, 100.0, 0.0)
// L1860
SoundPlayAtPoint(SoundLink("Thor_Movement", -1), PlayerGroupAll(), UnitGetPosition(autoDC337D76_var), 0.0, 100.0, 0.0)
// L1909
SoundPlayAtPoint(SoundLink("Doodad_ArtifactShrine_Activate", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0)
// L2062
SoundPlayAtPoint(SoundLink("Thor_Movement", -1), PlayerGroupAll(), UnitGetPosition(EventUnit()), 0.0, 100.0, 0.0)
// L2072
SoundPlayAtPoint(SoundLink("Doodad_ArtifactShrine_Deactivate", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0)
// L2104
SoundPlayAtPoint(SoundLink("Doodad_ArtifactShrine_Deactivate", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0)
// L2112
SoundPlayAtPoint(SoundLink("Overlord_Load", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0)
// L5098
SoundPlayAtPoint(SoundLink("Medivac_Load", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 16.0, 100.0, 0.0)
// L822
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0)
// L838
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0)
// L856
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0)
// L1396
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0)
// L1412
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0)
// L1427
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0)
// L6257
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitGetPosition(UnitLastCreated()), 8.0, 100.0, 0.0)
// L4679
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_unit), 1.0, 100.0, 0.0)
// L8441
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_unit), 1.0, 100.0, 0.0)
// L11807
SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydusWorm), 1.0, 100.0, 0.0)