Call of Duty Script Documentation

bullettrace(<start>, <end>, <hit characters>, <ignore entity>)


Module
Trace


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


Number of optional arguments: 0



Return to Function List