Hello,
I have two music tracks I want to use in my level. One is the standard track that will start playing when the level is loaded and the other one should start playing when the boss is spawned. I tried placing 2 Ambient Sound actors in my level and disabled Auto Activate
on the one with the boss track. I tried getting them inside my GameMode.cpp
by using TActroIterator
. However I cannot call the functions Stop()
and Play()
. I get an unresolved external symbol error. I’m not sure what include I am missing. I tried adding the AmbientSound.h
header but the error is still there.
Is there another way to change level music in the way I described?