Difference between revisions of "PLAY SOUND FRONTEND"

From GTAMods Wiki
Jump to navigation Jump to search
m (This will play a internal game sound with given parameters)
(this one needs to be cleared)
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
|np=2
+
|np=4
 
|p1t=Integer
 
|p1t=Integer
 
|p1d=Unknown, Suggested: -1
 
|p1d=Unknown, Suggested: -1
Line 10: Line 10:
 
|p4d=Unknown, Suggested: 0
 
|p4d=Unknown, Suggested: 0
 
}}
 
}}
 +
 +
Note: Not all parameters are use all the time, some are skipped entirely
 +
 +
== Examples ==
 +
{{research}}
 +
* FocusOut, HintCamSounds
 +
* FocusIn, HintCamSounds
 +
* SELECT, HUD_FRONTEND_DEFAULT_SOUNDSET
 +
* BACK, HUD_FRONTEND_DEFAULT_SOUNDSET
 +
* In, SHORT_PLAYER_SWITCH_SOUND_SET
 +
* Hit_In, PLAYER_SWITCH_CUSTOM_SOUNDSET
 +
* Camera_Move_Loop, PLAYER_SWITCH_CUSTOM_SOUNDSET
 +
* Hit_Out, PLAYER_SWITCH_CUSTOM_SOUNDSET
 +
* HACKING_MOVE_CURSOR
 +
* HACKING_CLICK_BAD
 +
* HACKING_COUNTDOWN_IP_FIND
 +
* HACKING_COUNTDOWN_IP_FIND++
 +
* HACKING_FAILURE
 +
* HACKING_CLICK_GOOD
 +
* HACKING_CLICK
 +
* HACKING_SUCCESS
 +
* HACKING_COUNTDOWN_CRACK_PASS
 +
* TIME_LAPSE_MASTER
 +
* Heli_Crash, FBI_HEIST_FINALE_CHOPPER
 +
* ScreenFlash, WastedSounds
 +
* Bed, WastedSounds
 +
* TextHit, WastedSounds
 +
* ScreenFlash, MissionFailedSounds
 +
* NO, HUD_FRONTEND_DEFAULT_SOUNDSET
 +
* YES, HUD_FRONTEND_DEFAULT_SOUNDSET
 +
* PROPERTY_PURCHASE, HUD_AWARDS
 +
 +
Taken from ''abigail2.txt'', ''act_cinema.txt'', ''agency_heist1.txt'', ''agency_heist3a.txt'', ''agency_heist3b.txt'', ''altruist_cult.txt''.

Latest revision as of 09:17, 30 April 2015

PLAY_SOUND_FRONTEND
Number of parameters: 4
Parameter #TypeDescription
1.IntegerUnknown, Suggested: -1
2.StringSound FileName, e.g "NAV_UP_DOWN"
3.StringSoundset, e.g "HUD_FRONTEND_DEFAULT_SOUNDSET"
4.BooleanUnknown, Suggested: 0
Return value:
TypeDescription
None

Note: Not all parameters are use all the time, some are skipped entirely

Examples

  • FocusOut, HintCamSounds
  • FocusIn, HintCamSounds
  • SELECT, HUD_FRONTEND_DEFAULT_SOUNDSET
  • BACK, HUD_FRONTEND_DEFAULT_SOUNDSET
  • In, SHORT_PLAYER_SWITCH_SOUND_SET
  • Hit_In, PLAYER_SWITCH_CUSTOM_SOUNDSET
  • Camera_Move_Loop, PLAYER_SWITCH_CUSTOM_SOUNDSET
  • Hit_Out, PLAYER_SWITCH_CUSTOM_SOUNDSET
  • HACKING_MOVE_CURSOR
  • HACKING_CLICK_BAD
  • HACKING_COUNTDOWN_IP_FIND
  • HACKING_COUNTDOWN_IP_FIND++
  • HACKING_FAILURE
  • HACKING_CLICK_GOOD
  • HACKING_CLICK
  • HACKING_SUCCESS
  • HACKING_COUNTDOWN_CRACK_PASS
  • TIME_LAPSE_MASTER
  • Heli_Crash, FBI_HEIST_FINALE_CHOPPER
  • ScreenFlash, WastedSounds
  • Bed, WastedSounds
  • TextHit, WastedSounds
  • ScreenFlash, MissionFailedSounds
  • NO, HUD_FRONTEND_DEFAULT_SOUNDSET
  • YES, HUD_FRONTEND_DEFAULT_SOUNDSET
  • PROPERTY_PURCHASE, HUD_AWARDS

Taken from abigail2.txt, act_cinema.txt, agency_heist1.txt, agency_heist3a.txt, agency_heist3b.txt, altruist_cult.txt.