I might be doing something wrong with the data editor, but I don't think so, and this should be so unbelievingly simple I don't understand what is going wrong. I have some imported music that is the default music and it plays just fine, but when I try to switch the music with this trigger (this trigger is connected to a dialog that has a slider) it doesn't change the soundtrack. I know that the conditional works (the text changes correctly), I am just missing something with the soundtrack...
For some reason every other soundtrack doesn't play, but when I change the slider back to the default soundtrack (the imported one) it starts playing as usual again. Anyone have any ideas? Thanks!
SoundtrackEventsDialog-AnyDialogItemisusedbyPlayerAnyPlayerwitheventtypeChangedValueLocalVariablesMusic=NoGameLink<GameLink-Soundtrack>Conditions(Useddialogitem)==SoundtrackActionsGeneral-If(Conditions)thendo(Actions)elsedo(Actions)If(Currentvalueof(Useddialogitem)for(Triggeringplayer))<2.0ThenDialog-SetSoundtrackTexttextto"Music: Chiptune"for(Playergroup((Triggeringplayer)))Variable-SetMusic=ImportedMusicElseGeneral-If(Conditions)thendo(Actions)elsedo(Actions)If(Currentvalueof(Useddialogitem)for(Triggeringplayer))>=2.0(Currentvalueof(Useddialogitem)for(Triggeringplayer))<3.0ThenDialog-SetSoundtrackTexttextto"Music: Terran Up The Night"for(Playergroup((Triggeringplayer)))Variable-SetMusic=TerranUpTheNightElseGeneral-If(Conditions)thendo(Actions)elsedo(Actions)If(Currentvalueof(Useddialogitem)for(Triggeringplayer))>=3.0(Currentvalueof(Useddialogitem)for(Triggeringplayer))<4.0ThenDialog-SetSoundtrackTexttextto"Music: Lost Viking"for(Playergroup((Triggeringplayer)))Variable-SetMusic=LostVikingElseSound-PlayMusicMusic(AnySoundtrackIndex)for(Playergroup((Triggeringplayer)))(withcueAnyCue)andDomakedefault
Yeah, the imported music isn't the problem, the problem is the music that given in the game, that is what won't play. I have played around with the parameters but can't get a combination that works... Each soundtrack only has one cue and being the default shouldn't matter for the music to play, though I have mad it default and tried to get it to play that way but that hasn't worked either.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I might be doing something wrong with the data editor, but I don't think so, and this should be so unbelievingly simple I don't understand what is going wrong. I have some imported music that is the default music and it plays just fine, but when I try to switch the music with this trigger (this trigger is connected to a dialog that has a slider) it doesn't change the soundtrack. I know that the conditional works (the text changes correctly), I am just missing something with the soundtrack...
For some reason every other soundtrack doesn't play, but when I change the slider back to the default soundtrack (the imported one) it starts playing as usual again. Anyone have any ideas? Thanks!
Can you start your imported music at all when using triggers to start, without all the fancy sliders?
Also, have you tried fiddling around with the parameters a little? Changing the music's cue or Make Default parameter?
@s3rius: Go
Yeah, the imported music isn't the problem, the problem is the music that given in the game, that is what won't play. I have played around with the parameters but can't get a combination that works... Each soundtrack only has one cue and being the default shouldn't matter for the music to play, though I have mad it default and tried to get it to play that way but that hasn't worked either.