Difference between revisions of "START PTFX ON PED BONE"
Jump to navigation
Jump to search
ThaCURSEDpie (talk | contribs) (Start) |
ThaCURSEDpie (talk | contribs) (Added link to particle effects list) |
||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
|p8d=Roll | |p8d=Roll | ||
|p9t=int | |p9t=int | ||
− | |p9d=[[Ped_Bones]] | + | |p9d=[[Ped_Bones | Ped bone ID]] |
|p10t=float | |p10t=float | ||
|p10d=Effect scale (1.0f = standard) | |p10d=Effect scale (1.0f = standard) | ||
Line 25: | Line 25: | ||
|rd=Handle to particle effect instance | |rd=Handle to particle effect instance | ||
}} | }} | ||
− | Starts and sticks a particle effect to a ped's bone. | + | Starts and sticks a [[List_of_particle_effects | particle effect]] to a ped's bone. |
Returns a handle to the ptfx instance. | Returns a handle to the ptfx instance. |
Latest revision as of 19:27, 8 September 2011
Number of parameters: 10 | ||
---|---|---|
Parameter # | Type | Description |
1. | string | Particle effect name |
2. | int | Ped id |
3. | float | X-offset |
4. | float | Y-offset |
5. | float | Z-offset |
6. | float | Yaw |
7. | float | Pitch |
8. | float | Roll |
9. | int | Ped bone ID |
10. | float | Effect scale (1.0f = standard) |
Return value: | ||
Type | Description | |
int | Handle to particle effect instance |
Starts and sticks a particle effect to a ped's bone. Returns a handle to the ptfx instance.