What is reevaluation for health pools? What does it change?
It lets you change the health pool’s max health with reevaluation. If the value that you set in the Max Health
parameter increases/decreases, then the max health of the health pool will increase/decrease automatically.
Increasing the max health of a health pool with reevaluation does not heal any of it.
Health pools with Recoverable
set to False
cannot be reevaluated.
Wait, so does it change the health when re-evaluation is on? Or does it still just add it? I’m kinda confused
if you set the max health in a health pool to a variable, lets say variable “B” for a second, then set “B” to lets say 100, then you will have 100 health pool. now if we were to change var “b” at any given time the health pool would go to that amount.
Here’s an example:
rule("example")
{
event
{
Ongoing - Each Player;
All;
All;
}
actions
{
Add Health Pool To Player(Event Player, Armor, Event Player.B, True, True);
}
}
rule("example")
{
event
{
Ongoing - Each Player;
All;
All;
}
actions
{
Event Player.B = 5;
Wait(2, Ignore Condition);
Event Player.B = 10;
Wait(2, Ignore Condition);
Event Player.B = 15;
Wait(2, Ignore Condition);
Event Player.B = 20;
Wait(2, Ignore Condition);
Loop;
}
}