Difference between revisions of "PLAY SOUND FRONTEND"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Native |np=2 |p1t=int |p1d=Unknown |p2t=string |p2d=Unknwon }} The results of this function are either unknown or untested.")
 
(this one needs to be cleared)
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
|np=2
+
|np=4
|p1t=int
+
|p1t=Integer
|p1d=Unknown
+
|p1d=Unknown, Suggested: -1
|p2t=string
+
|p2t=String
|p2d=Unknwon
+
|p2d=Sound FileName, e.g "NAV_UP_DOWN"
 +
|p3t=String
 +
|p3d=Soundset, e.g "HUD_FRONTEND_DEFAULT_SOUNDSET"
 +
|p4t=Boolean
 +
|p4d=Unknown, Suggested: 0
 
}}
 
}}
  
The results of this function are either unknown or untested.
+
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.