Instructions/Get Shield

From Desynced Wiki
Revision as of 09:42, 1 August 2025 by Kelno (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Get Shield
     File:Instructions-Get Shield.png
     Get a unit's shield as a percentage, current remaining and max amount
Lua ID get_shield
Category Math
Icon H Value.png
Argument One: Type Input
Argument One: Name Unit
Argument One: Description Unit to check
Argument One: Data Type entity
Argument Two: Type Output
Argument Two: Name Percent
Argument Two: Description Percentage of shield remaining
Argument Three: Type Output
Argument Three: Name Current
Argument Three: Description Value of shield remaining
Argument Four: Type Output
Argument Four: Name Max
Argument Four: Description Value of maximum shield amount