User Tools

Site Tools


4rpl:commands:generateenergy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:generateenergy [2021/01/08 16:01] – created - external edit 127.0.0.14rpl:commands:generateenergy [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 8: Line 8:
 Generates energy. Does the same thing towers, miners, and collector panels do. The amt is a float in energy generation per second. Generates energy. Does the same thing towers, miners, and collector panels do. The amt is a float in energy generation per second.
 Internally, the specified amount will be divided by 30. So you should call GenerateEnergy each frame if you want a steady supply. Internally, the specified amount will be divided by 30. So you should call GenerateEnergy each frame if you want a steady supply.
 +
 +:NOTE: Due to (INSERT REASON FROM K75), the energy graph does not correctly display the additional energy generation from this API should it be running in a Global Script in the POST setting.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/generateenergy.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)