Push - SoundCategorySnapshot
Jump to navigation
Jump to search
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()
Syntax[edit | edit source]
Function Push(float afTransitionSecs = 1.0) native
Parameters[edit | edit source]
- afTransitionSecs: How long the fade should take when transitioning to this snapshot.
- Default: 1.0
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Mute player footsteps
NoPlayerFeet.Push()