You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Syntax
()setAttackable(Attackable: f)
Arguments
Attackable(float): A value of 0 indicates that the group is not attackable, while a value of 1 indicates that the group is attackable.
Example
()setAttackable(1);
This example code sets the group as attackable by bots and players.