Skip to main content

TRIGGER_PTFX_ON_OBJ_BONE

Game.TriggerPtfxOnObjBoneHash0x3A2A77F9
Usage
local result = Game.TriggerPtfxOnObjBone(fxName, objectId, x, y, z, rx, ry, rz, boneId, scale)

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

Parameters

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

Returns

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