Constructors
Properties
frequency
frequency: number
max_distance
max_distance: number
min_distance
min_distance: number
Methods
attach_tail
- attach_tail(sound_path: string): void
Returns void
length
- length(): number
Returns number
play
- play(object: game_object): void
Returns void
- play(object: game_object, delay: number): void
Returns void
- play(object: game_object, delay: number, type: number): void
Returns void
play_no_feedback
- play_no_feedback(
object: game_object,
type: number,
value1: number,
position: vector,
value2: number,
): void Returns void
playing
- playing(): boolean
Returns boolean
set_position
- set_position(vector: vector): void
Returns void
stop_deffered
- stop_deffered(): void
Returns void
Source
C++ class sound_object
Custom Constructor
sound_object