Start Page » DragonScript Scripting Language » Abstraction Layers: How you want to build your Game » Behavior Elements » GWBehaviorOneShotSpeaker
Game world behavior adding support for one-shot speakers. One-shot speakers are deploy-and-forget speakers. They play a sound or a synthesizer once and remove themselves when they have finished playing.
The layer mask used for all one-shot speakers is set by default to BaseGameApp.WorldLayerBit.audio.
One shot speakers are used internally by material sounds and by the play sound element behavior.
This behavior is added by default to DefaultGWBehavior.
This behavior can be present only once in a game world.
This behavior has no game world properties.
This behavior sends no events.
This behavior adds no behavior tree actions.
This behavior adds no behavior tree conditions.
This behavior adds no state machine actions.
This behavior adds no state machine conditions.
This behavior sends no state machine events.
This behavior requires no other behaviors.
This behavior has no optional behaviors.
Since DragonScript Module Version 1.17