add_hp - ryzom/ryzomcore GitHub Wiki


title: Add HP description: published: true date: 2023-03-13T02:19:44.517Z tags: editor: markdown dateCreated: 2023-03-13T02:19:41.371Z

addHP

The addHP native AI script function adds hit points to each bot of the group.

Syntax

()addHP(HP: f)

Arguments

  • HP (float): The amount of hit points to add to each bot.

Example

()addHP(500);

This example code adds 500 hit points to each bot in the group.

⚠️ **GitHub.com Fallback** ⚠️