Skip to content

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

delNelVar

The delNelVar native AI script function deletes a NeL Variable.

Syntax

()delNelVar(varId: s, value: f) // delNelVar_sf_
()delNelVar(varId: s, value: s) // delNelVar_ss_

Arguments

  • 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.

Example

()delNelVar("BotCount", 0);

This example code deletes the "BotCount" NeL Variable.

()delNelVar("BotFamily", "");

This example code deletes the "BotFamily" NeL Variable.

Clone this wiki locally