Difference between revisions of "0552"

From GTAMods Wiki
Jump to navigation Jump to search
(radius added)
 
Line 1: Line 1:
{{Icon|VC}} '''SET_RIOT_INTENSITY'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}}
'''Description'''
+
| command    = SET_RIOT_INTENSITY
: Sets the riot noise intensity
+
| description = Sets the riot noise intensity
'''Syntax'''
+
| syntax1    = 0552: set_riot_noise [''int'']
: 0552: set_riot_noise [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = Intensity between ''0'' and ''255''
: [''int'']
+
}}
:: Integer value 0-255
 
  
This opcode sets the intensity of the riot noise, which is played by the <code>Law4Riot.mp3</code> [[Audio (folder, VC)|audio]] file. The riot noise can only be heard at the [[hardcoded]] location centered at x=300.7, y=-322.0, z=12.0 within a radius of 65.0 [[unit]]s. The noise cannot be heard while in a vehicle or in an [[interior]] except interior 13. The original script called this opcode during the "Riot" mission.
+
This opcode sets the intensity of the riot noise, which is played by the <code>Law4Riot.mp3</code> [[Audio directory (VC)|audio]] file. The riot noise can only be heard at the [[hardcoded]] location centered at x=300.7, y=-322.0, z=12.0 within a radius of 65.0 [[unit]]s. The noise cannot be heard while in a vehicle or in an [[interior]] except interior 13. The intensity is set to 0 when a [[00D8|mission cleanup]] is processed. The [[Main.scm|original script]] called this opcode during "Riot".
  
 
== Keywords ==
 
== Keywords ==
 
set, riot, noise, intensity
 
set, riot, noise, intensity
 
[[Category:OpCodes]]
 

Latest revision as of 22:08, 10 July 2016

Vice City SET_RIOT_INTENSITY


Description
Sets the riot noise intensity
Syntax
0552: set_riot_noise [int]
Parameter
[int]
Intensity between 0 and 255

This opcode sets the intensity of the riot noise, which is played by the Law4Riot.mp3 audio file. The riot noise can only be heard at the hardcoded location centered at x=300.7, y=-322.0, z=12.0 within a radius of 65.0 units. The noise cannot be heard while in a vehicle or in an interior except interior 13. The intensity is set to 0 when a mission cleanup is processed. The original script called this opcode during "Riot".

Keywords

set, riot, noise, intensity