ScriptEvent:chSetLineMaterial

From Mod Wiki
Revision as of 11:20, 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 material on.
string material -- Name of the material 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 line should be set to image mode using chSetLineType.

Functionality

Sets the material for a specified crosshair info line.