Call of Duty Script Documentation
bullettrace(<start>, <end>, <hit characters>, <ignore entity>)
ModuleTrace
Summary
Allows script to do a point trace with MASK_SHOT. Returns hit position, hit entity, hit surface normal.
Example
trace = bullettrace(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