Plays Baltie's animation sound (BaltieSound).
Namespace:
SGP.BaltieAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public void PlaySound( BaltieSound sound, bool force ) |
Parameters
- sound
- Type: SGP.Baltie..::.BaltieSound
Baltie's sound.
- force
- Type: System..::.Boolean
Forces the playback.
Remarks
When the playback is not forced (force==trueTruetruetrue (True in Visual Basic)), plays the sound only if
Baltie is visible (Visible) and sounds are enabled (SoundsEnabled),
or sounds are enabled
even if Baltie is invisible (SoundsEnabledIfNotVisible).
The sound is also not played, when Baltie is superspeedy (IsSuperSpeedy).
The sound is played in space at the Baltie's current position (3D sound).