Difference between revisions of "0598"
(Created page with "thumb|300px|0598 with radius 5.0 and density 8 on an object {{Icon|VC}} '''CREATE_<wbr>DUST_<wbr>EFFECT_<wbr>FOR_<wbr>CUTSCENE_<wbr>HELI''' <hr /> '''Descrip...") |
m |
||
Line 1: | Line 1: | ||
[[File:0598.jpg|thumb|300px|0598 with radius 5.0 and density 8 on an object]] | [[File:0598.jpg|thumb|300px|0598 with radius 5.0 and density 8 on an object]] | ||
− | {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} | |
− | + | | command = CREATE_<wbr>DUST_<wbr>EFFECT_<wbr>FOR_<wbr>CUTSCENE_<wbr>HELI | |
− | + | | description = Creates a helicopter dust particle effect around the object | |
− | + | | syntax1 = 0598: stir_ground_around_object [''object handle''] radius [''flt''] density [''int''] | |
− | + | | p1t = [''object handle''] | |
− | + | | p1d = The handle of the object | |
− | + | | p2t = [''flt''] | |
− | + | | p2d = Radius in units | |
− | + | | p3t = [''int''] | |
− | + | | p3d = Density (0 to 8) | |
− | + | }} | |
− | |||
− | This opcode creates a helicopter dust particle effect around an object, behaving almost exactly as the one created by helicopters. The opcode must be placed within a loop, preferably with a [[0001|wait]] of 0, in order to constantly create the particle effect. The radius parameter is the distance between the center of the object and the particles surrounding it at ground level. The density is capped at 8; any value higher than 8 is treated as 8. The player character must be within about 500 units of the object in order for the particle effect to be created. Pilotable helicopters in the game | + | This opcode creates a helicopter dust particle effect around an object, behaving almost exactly as the one created by helicopters. The opcode must be placed within a loop, preferably with a [[0001|wait]] of 0, in order to constantly create the particle effect. The radius parameter is the distance between the center of the object and the particles surrounding it at ground level. The density is capped at 8; any value higher than 8 is treated as 8. The player character must be within about 500 units of the object in order for the particle effect to be created. Pilotable helicopters in the game have a radius of 10.0 and density of about 9. The [[Main.scm|original script]] used this opcode on Lance's cutscene helicopter in the introduction scene. |
== Keywords == | == Keywords == | ||
create, dust, particle, effect, cutscene, helicopter, object, stir, ground | create, dust, particle, effect, cutscene, helicopter, object, stir, ground | ||
− | |||
− |
Latest revision as of 05:49, 22 December 2016
CREATE_
- Description
- Creates a helicopter dust particle effect around the object
- Syntax
- 0598: stir_ground_around_object [object handle] radius [flt] density [int]
- Parameter
- [object handle]
- The handle of the object
- [flt]
- Radius in units
- [int]
- Density (0 to 8)
This opcode creates a helicopter dust particle effect around an object, behaving almost exactly as the one created by helicopters. The opcode must be placed within a loop, preferably with a wait of 0, in order to constantly create the particle effect. The radius parameter is the distance between the center of the object and the particles surrounding it at ground level. The density is capped at 8; any value higher than 8 is treated as 8. The player character must be within about 500 units of the object in order for the particle effect to be created. Pilotable helicopters in the game have a radius of 10.0 and density of about 9. The original script used this opcode on Lance's cutscene helicopter in the introduction scene.
Keywords
create, dust, particle, effect, cutscene, helicopter, object, stir, ground