-
Notifications
You must be signed in to change notification settings - Fork 94
set_attackable
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Set Attackable description: published: true date: 2023-03-16T23:10:04.169Z tags: editor: markdown dateCreated: 2023-03-16T22:27:28.918Z
The setAttackable native AI script function sets the attackable property of a group, which determines whether the group can be attacked by bots and players.
()setAttackable(Attackable: f)
- Attackable (float): A value of 0 indicates that the group is not attackable, while a value of 1 indicates that the group is attackable.
()setAttackable(1);
This example code sets the group as attackable by bots and players.