$$ACTION Sound && Music Set music region to [e:Region] for player [o:PlayerObject=IT] aMusicSetRegion Set music region Sets the specified region as the active region for the music system Parameters: Region: which region is now active PlayerObject: which player gets the music change $$END */
| 2397 | $$END |
| 2398 | */ |
| 2399 | void aMusicSetRegion(int region_num, int objhandle) { |
| 2400 | msafe_struct mstruct; |
| 2401 | |
| 2402 | mstruct.state = 0; // specific player |
| 2403 | mstruct.index = region_num; |
| 2404 | mstruct.objhandle = objhandle; |
| 2405 | |
| 2406 | MSafe_CallFunction(MSAFE_MUSIC_REGION, &mstruct); |
| 2407 | } |
| 2408 | |
| 2409 | /* |
| 2410 | $$ACTION |
no outgoing calls
no test coverage detected