Skip to content

set_bot_attackable

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

title: Set Bot Attackable description: published: true date: 2023-03-16T23:10:09.819Z tags: editor: markdown dateCreated: 2023-03-16T22:27:36.019Z

setBotAttackable

The setBotAttackable native AI script function sets a group as being attackable or not attackable by bots. 0 means not attackable, 1 means attackable.

Syntax

()setBotAttackable(attackable: f) // setBotAttackable_f_

Arguments

  • attackable (float): Determines whether the group is attackable by bots.

Example

()setBotAttackable(0); // Make the group not attackable by bots 

This example code sets the group as not attackable by bots.

Clone this wiki locally