Tile - Entity charge – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "Image:Ylands_Tile_-_Entity_charge.png *Allows to get/set '''current''' amount of charge of an entity *Charge will '''increase''' charge of target entity *Deplete will '''r...")
 
m (Lou Montana moved page Ylands Tile - Entity charge to Ylands:Tile - Entity charge: Text replacement - "Ylands " to "Ylands:")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Entity_charge.png]]
[[Image:Ylands_Tile_-_Entity_charge.png]]
*Allows to get/set '''current''' amount of charge of an entity
*Allows to get/set '''current''' total amount of charge of an entity
*Charge will '''increase''' charge of target entity
*Deplete will '''remove''' charge from target entity


=Notes=
 
[[Image:Ylands_Tile_-_Entity_charge_add.png]]
*Allows to '''increase''' charge of target entity
 
 
[[Image:Ylands_Tile_-_Entity_charge_remove.png]]
*Allows to '''decrease''' charge from target entity
 
 
= Notes =
*Works for "chargeable" items (e.g Mining drill)
*Works for "chargeable" items (e.g Mining drill)
*Works also for Engines
*Works also for engines
*Power cells cannot be recharged from a script, only depleted
*Power cells cannot be recharged from a script, only depleted
*Entering negative number as amount will inverse the instruction effect
*Entering negative number as amount will inverse the instruction effect
Line 12: Line 19:


----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}

Latest revision as of 16:29, 16 November 2022