-
Notifications
You must be signed in to change notification settings - Fork 101
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
The setBotAttackable native AI script function sets a group as being attackable or not attackable by bots. 0 means not attackable, 1 means attackable.
()setBotAttackable(attackable: f) // setBotAttackable_f_
- attackable (float): Determines whether the group is attackable by bots.
()setBotAttackable(0); // Make the group not attackable by bots
This example code sets the group as not attackable by bots.