hey,
i have two problems that i doubt my game will be able to function with.
1. Whenever i try to test my game so i can see if the music works, i get an error message "Unable to play music: Unable to detect MIDI Sound Driver" or something like that. Long story short i can't hear the music and i know it isn't my speakers.
2. How can i make it so that 4 conditions (or more) affect what happens. For example, if you only want the player to win a challenge if they have 3 specific items, instead of just one, how do you do this.
Cheers,
Blake
1. Try upgrading DirectX and/or your soundcard drivers (if not done so already) and/or try a different device (if available) in the game's setup, and see if that helps.
2. Use some variables (if the events occurs in different rooms, you may try using GlobalInts (http://bfaq.xylot.com/#coding09)) to track whether some events had happened, and then check for them.
Like for example:
if ((a==1)&&(b==1)&&(c==1)) do something
1) I get this problem if I currently have Windows Media Player open, either already playing a song, paused, or just stopped.
2) do something to the affect of:
if((GetGlobalInt(6) == 1) && (GetGlobalInt(3) == 1) && (GetGlobalInt(7) == 1) && (GetGlobalInt(8) == 2) && (GetGlobalInt(9) == 1) && (GetGlobalInt(10) == 1))
{
Wait(80);
NewRoomEx(3, 260, 160);
Ã,Â
}
for 2, i was thinking that you do the following Interaction Sequence.
Conditional - Player has Inventory Item (0)
Conditional -Player has Inventory Item (1)
Conditional -Player has Inventory Item (2)
Game - Go to new room (412)
Will this work?
Yes, but they have to be nested like this:
Conditional - Player has Inventory Item (0)
Conditional -Player has Inventory Item (1)
Conditional -Player has Inventory Item (2)
Game - Go to new room (412)
perfect.