ScriptEvent:chSetLineColor

From Mod Wiki

Parameters

integer index -- Index of the line to set the color on.
vector color -- RGB components of the color to set.
float alpha -- Alpha component of the color to set.

Result

None.

Supported By

idEntity

Comments

  • This is only valid within the OnUpdateCrosshairInfo function, if called outside of this, the game will crash.
  • This is supported by all drawing modes.

Functionality

Sets the foreground color for the specified crosshair info line.