Difference between revisions of "ScriptEvent:chSetLineType"

From Mod Wiki
 
(No difference)

Latest revision as of 11:21, 5 November 2007

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.