#How can i see the signals on the VON
1 messages · Page 1 of 1 (latest)
dang.
Second question if you don't mind @latent flint
What am i doing wrong here. I just want want my custom sound SOUND_DOGBARK to play in as script. If I overwrite the sound to something else the .wav plays fine. But when creating custom sound, it never plays. I'm clearly missing something in my ACP.
void ActionBark()
{
PlayerController pc = PlayerController.Cast(GetOwner());
if(!pc)
return;
IEntity player = pc.GetControlledEntity();
if(!pc)
player;
SoundComponent soundComp = SoundComponent.Cast(player.FindComponent(SoundComponent));
if (!soundComp)
return;
soundComp.SoundEvent("SOUND_BODYFALL_TERMINAL"); //Works
soundComp.SoundEvent("SOUND_DOGBARK");
Print("GRAY.Bark");
}
Could have a few reasons;
Nr 1 question: Is your .acp actually on the character's SoundComponent?
If yes, is the player/listener within the amplitude curve/audible range?