Let me start off saying this is the first thing iv tryed scripting in a long time.. What im trying to do is get a trigger to send a tell to myself that then triggers a midi file to play but only when the music is off so it dosent restart the file every time I walk though the room.
Im trying to do it this way so that i can use midi files instead of .wav files.
Iv got this script set on a trigger that goes off whenever I enter a main room.
if mainmusic == off then
Send "tell vessarr playingmainmusic"
end
It goes off every time even though the variable mainmusic is set to on the tell that gets sent to start the music also sets mainmusic to on. Its like its running the Send line sepretly from the if/then.
Im trying to do it this way so that i can use midi files instead of .wav files.
Iv got this script set on a trigger that goes off whenever I enter a main room.
if mainmusic == off then
Send "tell vessarr playingmainmusic"
end
It goes off every time even though the variable mainmusic is set to on the tell that gets sent to start the music also sets mainmusic to on. Its like its running the Send line sepretly from the if/then.