HPL3/Amnesia: Rebirth/Scripting/Scripting Api/EnergySource

From Frictional Wiki
Jump to navigation Jump to search

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) —
  • afX (float) —

Returns:

  • void