PlaySound

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Plays the specified Sound form, non-locational.

If the SystemSound flag is set to a non-zero value, the sound will play even in MenuMode. Otherwise, the sound may be queued and not played until returning to GameMode.

Syntax

[help]
PlaySound sound:baseform SystemSound:int

Example

PlaySound AMBCeilingCrumble

The game will play the AMBCeilingCrumble sound; if in MenuMode, it may not play until return to GameMode.

PlaySound UIItemTakeAll 1

The UIItemTakeAll sound will be played even in MenuMode.

Bugs

  • This function will not work when called on an ambient sound that consists of one or more .ogg files.

See Also