HolyLib Wiki

SetCurrentDistance

  soundscape.SetCurrentDistance( number distance )

Description

Sets the distance for the currently active soundscapeUpdate.
Only works inside the HolyLib:OnSoundScapeUpdateForPlayer hook!
Mostly only useful to influence which soundscape could be selected.

Recently Added

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

Arguments

1number distance