Difference between revisions of "0552"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} | |
− | + | | command = SET_RIOT_INTENSITY | |
− | + | | description = Sets the riot noise intensity | |
− | '' | + | | syntax1 = 0552: set_riot_noise [''int''] |
− | + | | p1t = [''int''] | |
− | ''' | + | | p1d = Intensity between ''0'' and ''255'' |
− | + | }} | |
− | |||
− | This opcode sets the intensity of the riot noise, which is played by the <code>Law4Riot.mp3</code> [[Audio ( | + | 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 | ||
− | |||
− |
Latest revision as of 22:08, 10 July 2016
- 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