HolyLib Wiki

SetActiveSoundscape

  soundscape.SetActiveSoundscape( Player player, Entity soundScape )

Description

Sets the soundscape entity for the given player, use soundscape.BlockEngineChanges as else the engine might override it.

Recently Added

This was recently added in version (0.8 - DEV).

Arguments

1Player player
The player to use
2Entity soundScape

The soundScape to use

The given entity must be a env_soundscape or else it will throw an error!