Mudley Posted April 29, 2016 Share Posted April 29, 2016 How difficult would be to make the battle theme play as long as something is aggro on the player? Link to comment Share on other sites More sharing options...
Mobbstar Posted April 30, 2016 Share Posted April 30, 2016 It'd require you to edit the "dynamicmusic" component. In addition to the time-out, you'd want the update function to not stop the danger sound if the player (self.inst) has a target or something near the player (TheSim:FindEntities) targets the player. Since the later is rather resource-intensive, you should only check those criteria if the danger sound is actually playing and the delay is actually over (and if not, maybe add a bit of delay). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now