HPL3/SOMA/Scripting/Scripting Api/EnergySource
< HPL3 | SOMA | Scripting | Scripting Api
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Summary
Return Type | Function and Description |
---|---|
void | EnergySource_SetEnergy(const tString &in asName, float afX) Sets the energy level of an energy source |
Function Detail
EnergySource_SetEnergy
void EnergySource_SetEnergy(const tString &in asName,
float afX)
Sets the energy level of an energy source
Parameters
- asName (tString) — the name of the energy source.
- afX (float) — the energy amount
Returns:
- void