Difference between revisions of "START PARTICLE FX LOOPED ON ENTITY"
Jump to navigation
Jump to search
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Native | {{Native | ||
− | |np = | + | |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 | + | |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
Number of parameters: 12 | ||
---|---|---|
Parameter # | Type | Description |
1. | String | Particle FX name, e.g "scr_agency3b_proj_rpg_trail" |
2. | Integer | Entity ID |
3. | Float | Unknown, likely Coord X |
4. | Float | Unknown, likely Coord Y |
5. | Float | Unknown, likely Coord Z |
6. | Float | Unknown, likely Angle X |
7. | Float | Unknown, likely Angle Y |
8. | Float | Unknown, likely Angle Z |
9. | Float | Unknown |
10. | Boolean | Unknown, suggested: 0 |
11. | Boolean | Unknown, suggested: 0 |
12. | Boolean | Unknown, suggested: 0 |
Return value: | ||
Type | Description | |
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);