ScriptEvent:chSetLineType

From Mod Wiki
Revision as of 11:21, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.