is there a way around this?
I scripted a boss fight and my arena has some places where the player can jump in the water, but when they do, the boss music stops.
I guess the underwater sound is a separate music track?
is there any way to make the boss music keep playing while the player is underwater?
boss music stops when entering water
Re: boss music stops when entering water
nope, going underwater always changes the ambient track to "underwater". replacing that track or using GameMode.playStream() won't do you any good since the track will still restart every time you enter/leave the water.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Re: boss music stops when entering water
okay, i guess my boss fight was dumb anyway...I wanted mosquitoes to spawn (a much hated enemy) when the player triggers the fight and then they have to jump in the water to escape while periodically poking their heads up to take shots at the mosquitoes. but I suspect this fight would just piss people off anyway. I did leave some bombs as loot in an earlier level to accomodate non fire using parties.minmay wrote:nope, going underwater always changes the ambient track to "underwater". replacing that track or using GameMode.playStream() won't do you any good since the track will still restart every time you enter/leave the water.
I hardly use bombs but I found they can be useful in certain situations. and I tried to leave bombs in places so the player has them for the more difficult sections of my mod.
I might spawn the mosquites anyway but i'll just make it a regular encounter and I won't lock the player in with them so they can escape and later choose whether they want to kill the mosquitoes or not...