Push - SoundCategorySnapshot

Member of: SoundCategorySnapshot Script

Pushes this snapshot to the global category snapshot stack, causing it to become active if it's the highest priority item on the stack (using the priority specified on the snapshot form). Pushed snapshots remain on the stack until removed with Remove()

SyntaxEdit

Function Push(float afTransitionSecs = 1.0) native

ParametersEdit

  • afTransitionSecs: How long the fade should take when transitioning to this snapshot.
    • Default: 1.0

Return ValueEdit

None.

ExamplesEdit

; Mute player footsteps
NoPlayerFeet.Push()

See AlsoEdit