Jump to content

Photo

How do I code in global script play midi?


  • Please log in to reply
1 reply to this topic

#1 LikeLike888

LikeLike888

    Spicy food lover!!

  • Members
  • Real Name:Jason
  • Location:North America

Posted 26 October 2018 - 01:24 PM

Please, thank you.

#2 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 28 October 2018 - 04:11 PM

Please, thank you.


You have two options:

Game->PlayMIDI(id);
This plays a desired MIDI without changing the actual in-game DMap MIDI

Game->DMapMIDI[dmap_id] = midi_id;
This sets the MIDI for a desired DMap to a desired ID.You can set it for the current DMap with:

Game->DMapMIDI[Game->GetCurDMap()] = id;




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users