The healtarget command, when used, heals all targets on the block's target list.
"then(healtarget, amount)"
Argument |
Function |
amount |
The amount of health to be restored to the target. (For players, the bleed healing bonus is applied!) |
And example of the healtarget command used in a script is as follows...
The following script heals the player for a certain amount of time.
if(compare,var(on),>,0)
{
then(cleartargets)
then(addtarget,player)
then(healtarget,8)
then(changetimer,on,-,1)
}
|
|