Difference between revisions of "START PTFX ON OBJ"

From GTAMods Wiki
Jump to navigation Jump to search
(Added documentation :))
 
(Tested unconfirmed parameters.)
Line 12: Line 12:
 
|p5d=Z-offset
 
|p5d=Z-offset
 
|p6t=float
 
|p6t=float
|p6d=X-rotation
+
|p6d=Yaw
 
|p7t=float
 
|p7t=float
|p7d=Y-rotation
+
|p7d=Pitch
 
|p8t=float
 
|p8t=float
|p8d=Z-rotation
+
|p8d=Roll
 
|p9t=float
 
|p9t=float
 
|p9d=Effect scale (1.0f = standard)
 
|p9d=Effect scale (1.0f = standard)
Line 23: Line 23:
 
|rd=Handle to particle effect instance
 
|rd=Handle to particle effect instance
 
}}
 
}}
 
Note that parameters 3 - 9 are unconfirmed!
 

Revision as of 18:16, 7 September 2011

START_PTFX_ON_OBJ
Number of parameters: 9
Parameter #TypeDescription
1.stringParticle effect name
2.intObject id
3.floatX-offset
4.floatY-offset
5.floatZ-offset
6.floatYaw
7.floatPitch
8.floatRoll
9.floatEffect scale (1.0f = standard)
Return value:
TypeDescription
intHandle to particle effect instance