Difference between revisions of "ScriptEvent:chSetLineFraction"
From Mod Wiki
(No difference)
|
Latest revision as of 11:20, 5 November 2007
Parameters
integer index -- Index of the line to set progress on. float fraction -- Progress to set, in the range 0 -> 1.
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 bar mode using chSetLineType.
Functionality
Sets the current progress fraction of the specified crosshair info line.