Hello. I’ve got an event called “Healing” and Health that equals 100 points and Max Health that equals 200 points. But somehow I can’t get my health to 200 points if I pick up a health pack.
Here is a healing event:
And health pack code:
Heal val is 20
1 Like
You don’t need a second cast
I can’t actually see what you’re casting, but it doesn’t need to be there
Still gives me a message thet my health is at maximum. But my Health still at 100 and not at 200
Also get rid of this, it’s redundant
Just pass the parameter in, because this check is in the character.
But it checks if Player has max-health health pack will not apply any points and will not be destroyed
1 Like
still Healing says that I’m at my maximum when I have 100 HP and not 200
Which print string is firing?
MaxHealth is set to 200? ( just checking )
Max health is set to 200.
And the string is this in character:
and this in health pack:
Thing is, I couldn’t see a problem, so I coded just to check. And it works.
Not sure exactly what you’re doing there
If you want to zip up a small project and give me a line I’ll take a look ( you can PM me ), but otherwise, I’m stuck.
system
(system)
Closed
January 22, 2024, 6:05pm
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.