Difference between revisions of "START PARTICLE FX LOOPED ON ENTITY"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
|np      = 15
+
|np      = 12
  
 
|p1t      = String
 
|p1t      = String
Line 41: Line 41:
 
|r        = 1
 
|r        = 1
 
|rt      = Handle?
 
|rt      = Handle?
|rd      = Handle for the PTFX instance for use with STOP_PARTICLE_FX_LOOPED_ON_ENTITY
+
|rd      = Handle for the PTFX instance for use with REMOVE_PARTICLE_FX_LOOPED_ON_ENTITY
 
}}
 
}}
  
Line 51: Line 51:
  
 
Taken from  ''agency_heist3b.txt''
 
Taken from  ''agency_heist3b.txt''
 +
 +
== Code Example snippet ==
 +
 +
==== C++ ====
 +
<code>
 +
myGraphic = GRAPHICS::START_PARTICLE_FX_LOOPED_ON_ENTITY("scr_env_agency3b_smoke", PLAYER::PLAYER_PED_ID(), 0f, 0f, 0f, 0f, 0f, 0f, 1f, 0, 0, 0);
 +
</code>

Latest revision as of 16:53, 3 May 2015

START_PARTICLE_FX_LOOPED_ON_ENTITY
Number of parameters: 12
Parameter #TypeDescription
1.StringParticle FX name, e.g "scr_agency3b_proj_rpg_trail"
2.IntegerEntity ID
3.FloatUnknown, likely Coord X
4.FloatUnknown, likely Coord Y
5.FloatUnknown, likely Coord Z
6.FloatUnknown, likely Angle X
7.FloatUnknown, likely Angle Y
8.FloatUnknown, likely Angle Z
9.FloatUnknown
10.BooleanUnknown, suggested: 0
11.BooleanUnknown, suggested: 0
12.BooleanUnknown, suggested: 0
Return value:
TypeDescription
Handle?Handle for the PTFX instance for use with REMOVE_PARTICLE_FX_LOOPED_ON_ENTITY

Examples

  • scr_agency3b_proj_rpg_trail
  • scr_agency3b_shot_chopper
  • proj_grenade_trail
  • scr_env_agency3b_smoke

Taken from agency_heist3b.txt

Code Example snippet

C++

myGraphic = GRAPHICS::START_PARTICLE_FX_LOOPED_ON_ENTITY("scr_env_agency3b_smoke", PLAYER::PLAYER_PED_ID(), 0f, 0f, 0f, 0f, 0f, 0f, 1f, 0, 0, 0);