Black Ops III

BulletTracePassed

Allows script to do a bullet point trace with ( MASK_SHOT & ~CONTENTS_SKY ) returns true if the trace does not hit anything

Example:

passed = BulletTracePassed( grenade.origin, self.origin + (0,0,TROPHY_TRACE_Z), false, self )

Parameters

ParameterSummary
*startThe bullet start point
*endThe bullet end point
*hit charactersAn entity to ignore
*ignore entityAn entity to ignore
[ignore entity 2]An entity to ignore
[fx vis]check against fx visibility also
[ignore water]mask contents_water

* = mandatory