Difference between revisions of "0552"
Jump to navigation
Jump to search
(radius added) |
|||
Line 9: | Line 9: | ||
:: Integer value 0-255 | :: 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 | + | 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. |
== Keywords == | == Keywords == |
Revision as of 02:40, 27 June 2015
Description
- Sets the riot noise intensity
Syntax
- 0552: set_riot_noise [int]
Parameter
- [int]
- Integer value 0-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 original script called this opcode during the "Riot" mission.
Keywords
set, riot, noise, intensity