The setBotHPScaleByAlias
function is used to set the HP scale of a specific bot in the current group based on its alias.
()setBotHPScaleByAlias(coef: f, alias: s); // setBotHPScaleByAlias_fs_
()setBotHPScaleByAlias(0.5, '(A:1000:10560)');
This code sets the HP scale of the bot with the alias (A:1000:10560)
to 50%.
This function is similar to the setHpScale
function, but it only affects a specific bot within the group based on its alias.
To use this function, the bot must already be spawned in the game.