: : Can anyone tell me how to use this command? I don't know how the (numbers) find the right midi file.And the tutorials I have don't seem to cover that. Thanx
: The dinkc line for a sound file would most likely be:
: playsound(1, 22050, 0, 0, 0);
: where
: 1 is the number of the sound
: 22050 is the speed
: 0 is.. something, don't remember ;)
: 0 is the sprite it's attached to (0 if not attached to a sprite)
: and 0 for repeat (1 repeats, 0 doesn't).
: That playsound works with *.WAW's, which are listed in start.c.
: THE MIDIS instead don't have a system like this, they're played with command
: playmidi("mymidi.mid");
: In DinkEdit they can be used in the screens listed by numbers (this was what you asked about, right?). You press M on a screen and it asks midi number. You can put in any number, but you'll just have to rename your midi file after.
: Example:
: M - you write "220".
: Then you'll have to name the midi file you wanted tp play to "220.mid".
: Hope this helped a bit. :)
thanks that helped a lot, but I'm trying to get sound 59 from mystery isl. when Dink changes into a duck ( s3-fount ?) but the sound folder in mys.isl. doesn't show it. Sampling each I can't find it either. maybe I'll use another. Thanks.