class SBAmbientSoundTriggerable expands AmbientSound; var() bool bInitiallyOn; var sound MyAmbientSound; function BeginPlay () { MyAmbientSound = AmbientSound; if ( ! bInitiallyOn) AmbientSound = None; } function Trigger( actor Other, pawn EventInstigator ) { if (AmbientSound == None) AmbientSound = MyAmbientSound; else AmbientSound = None; } DefaultProperties { bStatic=False }