Tile - YChargeable - Set Current Charge – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}")
Line 19: Line 19:


----
----
{{Ylands scripting navbox}}
{{Ylands editor navbox}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]
[[Category: Ylands 0.10]]

Revision as of 05:01, 26 December 2020

Ylands Tile - Entity charge.png

  • Allows to get/set current total amount of charge of an entity


Ylands Tile - Entity charge add.png

  • Allows to increase charge of target entity


Ylands Tile - Entity charge remove.png

  • Allows to decrease charge from target entity


Notes

  • Works for "chargeable" items (e.g Mining drill)
  • Works also for engines
  • Power cells cannot be recharged from a script, only depleted
  • Entering negative number as amount will inverse the instruction effect



Template:Ylands editor navbox