Skip to main content

TRIGGER_PTFX_ON_OBJ

Game.TriggerPtfxOnObjHash0x50307F63
Usage
local result = Game.TriggerPtfxOnObj(fxName, objectId, x, y, z, rx, ry, rz, scale)

Trigger a particle effect on an object with an offset position and orientation.

Parameters

  • fxNamestringchar*
  • objectIdintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • rxnumberfloat
  • rynumberfloat
  • rznumberfloat
  • scalenumberfloat

Returns

  • resultbooleanreturn value
Original declaration
// 0x50307F63
bool TRIGGER_PTFX_ON_OBJ(char* fxName, int objectId, float x, float y, float z, float rx, float ry, float rz, float scale);