ScriptEvent:chSetLineType

From Mod Wiki

Parameters

integer index -- Index of the line to set the type of.
integer type -- Type to set. Accepted values are CI_BAR, CI_TEXT or CI_IMAGE.

Result

None.

Supported By

idEntity

Comments

  • Setting an unknown type will cause the line to not be visible.
  • This is only valid within the OnUpdateCrosshairInfo function, if called outside of this, the game will crash.

Functionality

Sets the type of the specified crosshair info line.