mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user