Cafu Engine
Cafu Engine Scripting
The open-source game engine and graphics engine for multiplayer, cross-platform, real-time 3D action
EntSpeakerT Class Reference

An invisible speaker that can playback a sound shader or file. More...

Inheritance diagram for EntSpeakerT:

Public Member Functions

 Play ()
 Plays the sound associated with this speaker. More...
 
 Stop ()
 Stops playing the sound. More...
 
- Public Member Functions inherited from BaseEntityT
string GetName ()
 Returns the name of this entity. More...
 
x y z GetOrigin ()
 Returns the origin of this entity as a triple of numbers. More...
 
 SetOrigin (number x, number y, number z)
 Sets a new position for this entity. More...
 

Detailed Description

An invisible speaker that can playback a sound shader or file.

TODO: Expose more scripting control.

Map Editor Name:
speaker
Implementing C++ Class:
DeathMatch::EntSpeakerT

Member Function Documentation

Play ( )

Plays the sound associated with this speaker.

Stop ( )

Stops playing the sound.