The hurtme command works fine with positive values but does nothing when you put in a negative value (ex. hurtme 100 works but hurtme -100 does nothing). Is there any way to fix it?
ent_create logic_timer targetname !self RefireTime 0.015; ent_fire !self addoutput "OnTimer Player:addoutput:health 900:0:-1"
ent_fire !self addoutput "health 99999"
ent_fire !self addoutput "health 99999"
Reeroent_create logic_timer targetname !self RefireTime 0.015; ent_fire !self addoutput "OnTimer Player:addoutput:health 900:0:-1"
ent_fire !self addoutput "health 99999"
Shoutout To Gorge004.
ent_fire !self addoutput "health 99999"[/quote]
Shoutout To Gorge004.
Reeroent_create logic_timer targetname !self RefireTime 0.015; ent_fire !self addoutput "OnTimer Player:addoutput:health 900:0:-1"
ent_fire !self addoutput "health 99999"
if this is the kind of alien code gorge somehow writes to do overheal i am genuinely curious what kind of cursed shit goes on in maps like xhappy lmao
ent_fire !self addoutput "health 99999"[/quote]
if this is the kind of alien code gorge somehow writes to do overheal i am genuinely curious what kind of cursed shit goes on in maps like xhappy lmao
bearodactylReeroent_create logic_timer targetname !self RefireTime 0.015; ent_fire !self addoutput "OnTimer Player:addoutput:health 900:0:-1"if this is the kind of alien code gorge somehow writes to do overheal i am genuinely curious what kind of cursed shit goes on in maps like xhappy lmao
ent_fire !self addoutput "health 99999"
What's wrong with the code?
ent_fire !self addoutput "health 99999"
Is likely the only line needed; the logic_timer is redundant.
ent_fire !self addoutput "health 99999"[/quote]
if this is the kind of alien code gorge somehow writes to do overheal i am genuinely curious what kind of cursed shit goes on in maps like xhappy lmao[/quote]
[s]What's wrong with the code?[/s] [code]ent_fire !self addoutput "health 99999"[/code] Is likely the only line needed; the logic_timer is redundant.
AimIsADickthe logic_timer is redundant.
no tf it is not. those are 2 different things. the one with timer is a tempus style regen, where it sets your health to 900 every server tick. the second one has the same effect as hurtme with negative values
no tf it is not. those are 2 different things. the one with timer is a tempus style regen, where it sets your health to 900 every server tick. the second one has the same effect as hurtme with negative values
Smissmas update from today fixed this bug
https://www.teamfortress.com/post.php?id=101867
RockzAimIsADickthe logic_timer is redundant.no tf it is not. those are 2 different things. the one with timer is a tempus style regen, where it sets your health to 900 every server tick. the second one has the same effect as hurtme with negative values
Oh.
Why is the logic_timer using the "!self" target name? Why not just add the healing, looping outputs directly to the player (entities)?
no tf it is not. those are 2 different things. the one with timer is a tempus style regen, where it sets your health to 900 every server tick. the second one has the same effect as hurtme with negative values[/quote]
Oh.
Why is the logic_timer using the "!self" target name? Why not just add the healing, looping outputs directly to the player (entities)?
AimIsADickOh.
Why is the logic_timer using the "!self" target name? Why not just add the healing, looping outputs directly to the player (entities)?
welcome to my code review for a command for a 15 year old game
Oh.
Why is the logic_timer using the "!self" target name? Why not just add the healing, looping outputs directly to the player (entities)?[/quote]
welcome to my code review for a command for a 15 year old game
AimIsADickWhy is the logic_timer using the "!self" target name? Why not just add the healing, looping outputs directly to the player (entities)?
that's how you do it, with !self
that's how you do it, with !self