BulletTracePassed( <start>, <end>, <hit characters>, <ignore entity> )

Module: Trace


Allows script to do a point trace with MASK_SHOT. Returns true if trace complete, else returns false.


success = BulletTracePassed( magicBulletOrigin.origin, eyePos, true, undefined);

Required Args:

  • 1 : <start> The bullet start point
  • 2 : <end> The bullet end point
  • 3 : <hit characters> When set to true, this will trace for character hits
  • 4 : <ignore entity> An entity to ignore