#MARKEROPS - do not crate a COORDINATE b4 you need it

#UTILS - added
* UTILS.ShowHelperGate(pos, heading)
* UTILS.ShellZone
* UTILS.RemoveObjects
* UTILS.DestroyScenery
This commit is contained in:
Applevangelist
2025-07-03 10:48:54 +02:00
parent a467fabdc8
commit 068d21612f
3 changed files with 58 additions and 2 deletions

View File

@@ -1924,3 +1924,10 @@ function UNIT:IsAAA()
end
return false
end
--- Set the relative life points of a UNIT object
-- @param #UNIT self
-- @param #number Percent Percent to set, can be 0..100.
function UNIT:SetLife(Percent)
net.dostring_in("mission",string.format("a_unit_set_life_percentage(%d, %f)", self:GetID(), Percent))
end