lord_vader Posted May 11, 2016 Posted May 11, 2016 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?
spoonsinger Posted May 11, 2016 Posted May 11, 2016 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.
WraithSlayer Posted May 11, 2016 Posted May 11, 2016 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.
lord_vader Posted May 11, 2016 Author Posted May 11, 2016 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.