Skip to content

ListenerFalloff

Narta Xaymar Dirks edited this page Nov 26, 2026 · 1 revision

ListenerFalloff BlitzLLVM

ListenerFalloff:Void mode:Int32
Parameter Mode Type Default Description
mode In Int32 required 0 is the curve of this runtime, 1 the curve of the original and 2 the curve of SoLoud, see CreateListener. Anything else is a runtime error.

Description

BlitzLLVM This command does not exist in the original Blitz products. BlitzLLVM adds it.

Picks the curve that the volume of 3D sounds falls off by with distance, for the sounds that play now and the ones that start later. This is a BlitzLLVM extension.

Differences

  • SetFalloff only changes the sounds that start after it, and SetChannelFalloff one sound. A curve can not glide from one to the other.

Examples

; Everything with the curve of the original, from now on.
ListenerFalloff 1

Related Commands

GetChannelFalloff BlitzLLVM, GetFalloff BlitzLLVM, ListenerDistance BlitzLLVM, ListenerDoppler BlitzLLVM, ListenerRadius BlitzLLVM, ListenerRolloff BlitzLLVM, SetChannelFalloff BlitzLLVM, SetFalloff BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally