SetCurrentCharge

From the Oblivion ConstructionSet Wiki
Revision as of 23:27, 8 August 2010 by imported>CSbot (Automated import of articles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(void) reference.SetCurrentCharge newCharge:short

Sets the current charge of the calling reference if it is less than or equal to the maximum charge.