Background for Skyrim SE
Member of the DbSkseEvents script
eventOnMusicTypeChangeGlobal(MusicTypenewMusicType, MusicTypeoldMusicType)

Description

Documentation Comment

Uses frame update function to detect change. Interval determined by the iFrameUpdateInterval setting in Data/SKSE/Plugins/DbSkseFunctions.ini


Parameters

  1. MusicTypenewMusicType

  2. MusicTypeoldMusicType


Examples

Auto-Generated Example

Scriptname MyCoolScript extends DbSkseEvents

event OnMusicTypeChangeGlobal(MusicType newMusicType, MusicType oldMusicType)
    Debug.trace("Event received - OnMusicTypeChangeGlobal: newMusicType = " + newMusicType + " oldMusicType = " + oldMusicType)
endEvent
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.