-
Notifications
You must be signed in to change notification settings - Fork 94
del_nel_var
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Delete NeL Variable description: published: true date: 2023-03-16T23:06:10.043Z tags: editor: markdown dateCreated: 2023-03-16T22:22:29.509Z
The delNelVar native AI script function deletes a NeL Variable.
()delNelVar(varId: s, value: f) // delNelVar_sf_
()delNelVar(varId: s, value: s) // delNelVar_ss_
- varId (string): The name of the variable to delete.
- value (float or string): The passed value is used to determine the type of the variable, but its content is ignored.
()delNelVar("BotCount", 0);
This example code deletes the "BotCount" NeL Variable.
()delNelVar("BotFamily", "");
This example code deletes the "BotFamily" NeL Variable.