I want make abillity for my character what can be activated with low HP
Current Code:
--For Rage Function
local function healthcontrol(inst, data)
if inst.components.health.current <= 100 then
inst.components.talker:Say("Test")
inst.AddTag("rage")
end end
Anyone can help?