I'm precaching the sound event in the KV file like this:
"precache" { "soundfile" "soundevents/game_sounds_heroes/game_sounds_lina.vsndevts" "particle" "particles/units/heroes/hero_lina/lina_spell_light_strike_array_ray_team.vpcf" "particle" "particles/units/heroes/hero_lina/lina_spell_light_strike_array.vpcf" }
and creating the sound in lua like this:
EmitSoundOnLocationForAllies( self:GetParent():GetOrigin(), "Ability.PreLightStrikeArray", self:GetCaster() )
The particles are working fine but no sound is playing.
Have I set this up wrong? And if not, where else should I look for mistakes and what resources can I use to understand how this works?