-
Notifications
You must be signed in to change notification settings - Fork 101
clear_aggro_list
Ryzom Core Wiki edited this page Jul 8, 2024
·
2 revisions
title: Clear Aggro List description: published: true date: 2023-03-16T23:05:25.101Z tags: editor: markdown dateCreated: 2023-03-16T22:21:31.207Z
The clearAggroList native AI script function is used to reset the aggro list of a bot.
()clearAggroList() // clearAggroList__
()clearAggroList(dontSendLostAggro: f) // clearAggroList_f_
- dontSendLostAggro (float, optional): A boolean value indicating whether to send a lost aggro message to EGS (0) or not (1). The default value is 0.
()clearAggroList(); // Equivalent to ()clearAggroList(0);
This example code resets the aggro list of a bot.
()clearAggroList(1.0f);
This example code resets the aggro list of a bot without sending a lost aggro message to EGS.