0394

From GTAMods Wiki
Revision as of 19:52, 26 February 2012 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

GTA III Vice City San Andreas PLAY_MISSION_PASSED_TUNE


Description

Plays the mission passed audio

Syntax

0394: play_music [int]

Parameter

[int]
Audio index, recommended use only value 1

This opcode plays the mission passed audio.

In Vice City, the mission passed audio uses miscom.mp3 file. The background ambient noise will be disabled and the music will fade in as it plays. Background ambient noise will fade back in and resume afterward. Using any value other than 1 will continue to have the background ambient noise disabled unless it is restored, one way by pausing and unpausing the game. If the background ambient noise remains disabled, this opcode cannot play the same audio until the noise is reenabled but it can still play other audio. Pausing and unpausing the game or playing another audio other than itself will interrupt the audio. The 0th index for this opcode starts at index 76 from opcode 057D's list of audio files. For example, using a value of 3 would play music from 057D's index 78 MobR1.wav file.

Keywords

play, music, sound, mp3