Difference between revisions of "ScriptEvent:chSetLineSize"

From Mod Wiki
 
(No difference)

Latest revision as of 11:20, 5 November 2007

Parameters

integer index -- Index of the line to set the size of.
float width -- New width of the line.
float height -- New height of the line.

Result

None.

Supported By

idEntity

Comments

  • This is only valid within the OnUpdateCrosshairInfo function, if called outside of this, the game will crash.
  • This applies to both bar and image mode, but not text mode. Set the line mode using chSetLineType.

Functionality

Sets the width and height of the specified crosshair info line.