Call of Duty 4: Scripting Reference - Weapons::BulletTracer

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


BulletTracer( <start>, <end>, <forceDraw> )

Module: Weapons
SP Only

Summary:

creates a bullet tracer from the start to end point


Call this on:

Example:

 BulletTracer( self.origin, target.origin )

Required arguments:

  1. <start> The starting point bullet tracer
  2. <end> The end point bullet tracer


Optional arguments:

  1. <force draw> Set to true to ignore 'cg_tracerChance' setting and always draw the tracer.


Notes:

none