Call of Duty Script Documentation
sighttracepassed(<start>, <end>, <hit characters>, <ignore entity>)
ModuleTrace
Summary
Allows script to do a point trace with MASK_OPAQUE_AI. Returns true if trace complete, else returns false.
Example
success = sighttracepassed(magicBulletOrigin.origin, eyePos, true, undefined);
Minimum Number of arguments: 4
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
Number of optional arguments: 0
Return to Function List