Jump to content

Script to change Music ?


Recommended Posts

Posted

Hi

 

I've written a script that plays a specific Music if a specific NPC is loaded into the cell but it didn't work

 

 
Scriptname Musictest extends Actor 
 
MusicType property MUSCombatBoss Auto
 
 
Event OnLoad()
Utility.Wait(5)
    MUSCombatBoss.add()
 

endEvent 

 

 

 

Any Ideas?

Posted

Hi

 

I've written a script that plays a specific Music if a specific NPC is loaded into the cell but it didn't work

 

 
Scriptname Musictest extends Actor 
 
MusicType property MUSCombatBoss Auto
 
 
Event OnLoad()
Utility.Wait(5)
    MUSCombatBoss.add()
 

endEvent 

 

 

 

Any Ideas?

 

If the music you were trying to play was:-

 

 

[video=youtube]

 

 

 

I think you'll find 96.4% of the Skyrim code has been developed to stop you from doing that.

 

 

Posted

MUSCombatBoss.add() doesn't automatically play that specific track, it only adds it to the list of available tracks.

 

If your NPC is supposed to appear in a specific cell, you could add conditions to all the other tracks used in that cell so they can't play while the NPC is present.

Posted

MUSCombatBoss.add() doesn't automatically play that specific track, it only adds it to the list of available tracks.

 

If your NPC is supposed to appear in a specific cell, you could add conditions to all the other tracks used in that cell so they can't play while the NPC is present.

 

 

Thank you very much for your reply.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...