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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 01:20, 1 August 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=BulletTracer( <start>, <end>, <forceDraw> ) |Module=Weapons |Available=SP Only |Summary=creates a bullet tracer from the start to end point |C...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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