Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. let soundArr = [
  2. GetCurrentScriptDirectory~"./../../../ds_system/sound/se_tan00.wav",
  3. GetCurrentScriptDirectory~"./../../../ds_system/sound/se_kira00.wav",
  4. GetCurrentScriptDirectory~"./../../../ds_system/sound/se_cat00.wav"
  5. ];
  6. let soundObjArr = [];
  7. ascent(i in 0..length(soundArr)){
  8. LoadSound(soundArr[i]);
  9. let objS = ObjSound_Create;
  10. soundObjArr = soundObjArr ~ [objS];
  11. ObjSound_Load(soundObjArr[i],soundArr[i]);
  12. ObjSound_SetSoundDivision(soundObjArr[i],SOUND_SE);
  13.  
  14. }
  15.  
  16. return soundObjArr;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement