Skip to content
Ryzom Core Wiki edited this page Jul 8, 2024 · 3 revisions

title: Add HP description: published: true date: 2023-03-16T23:04:44.969Z tags: editor: markdown dateCreated: 2023-03-16T22:20:41.137Z

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.

Clone this wiki locally