#hello
1 messages · Page 1 of 1 (latest)
Hellooo!
by using e.g. the SoundEvent method on the entity's SoundComponent (The acp must be present on the soundComponent, of course).
Also, just to be sure: The .acp is not "the sound", but rather the Sound Nodes inside the .acp. So those are what you'd want to reference.
e.g.
SoundComponent soundComp = SoundComponent.Cast(entity.FindComponent(SoundComponent));
if (soundComp)
{
soundComp.SoundEvent("YOURSOUNDNAME");
}```
would I put this in the actual user action that I have?
trying to reference other useractions but can't seem to find anything similar