Difference between revisions of "ScriptEvent:chSetLineColor"

From Mod Wiki
 
(No difference)

Latest revision as of 11:20, 5 November 2007

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.