diff --git a/docs/reference.xml b/docs/reference.xml index 0b6adc80..c3159be0 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -1652,6 +1652,26 @@ + + Adds a sound entity. + + + Will play map-specific sound so long as the player is within the radius. + However, only up to the max uses allowed for N (specified in the mapsound command) will play, even if the player is within the radius of more N sounds than the max. + By default (size 0), the sound is a point source. Its volume is maximal at the entity's location, and tapers off to 0 at the radius. If size is specified, + the volume is maximal within the specified size, and only starts tapering once outside this distance. Radius is always defined as distance from the entity's location, + so a size greater than or equal to the radius will just make a sound that is always max volume within the radius, and off outside. + + + + + + + + + + + Deletes the entity closest to the player @@ -1910,6 +1930,22 @@ + + Defines a mapsound. + + + Registers the sound as a map-specific sounds. These map-specific sounds may currently only be used with "sound" entities within a map. The first map sound registered in a map has index 0, and increases afterwards. + + + + + + + + + + + Resets the mapmodel slots/indices to 0.