ScriptEvent:chAddLine
From Mod Wiki
Parameters
None.
Result
Supported By
idEntity
Comments
- This is only valid within the OnUpdateCrosshairInfo function, if called outside of this, the game will crash.
- If there is no crosshair object the entire trace length will be returned.
Functionality
Returns the distance to the object under the crosshair.