AmbientThinker

From Eternity Wiki
Jump to navigationJump to search

Type: Object sound pointer, normal

Purpose: Drives EDF ambience effects controlled by the EEAmbience object. This pointer expects to find the EDF ambience sequence index number in the args[0] field of the thing. If that number is invalid, this codepointer does nothing. It also utilizes the counter #0 field of the object as a ticker. In order to work properly, this codepointer must be called once every gametic (ie, in a frame of duration 1).