remove_persistent_profile_parameter - ryzom/ryzomcore GitHub Wiki


title: Remove Persistent Profile Parameter description: published: true date: 2023-03-16T23:09:36.117Z tags: editor: markdown dateCreated: 2023-03-16T22:26:52.424Z

removePersistentProfileParameter

The removePersistentProfileParameter native AI script function removes a profile parameter from the current NPC group.

Syntax

()removePersistentProfileParameter(parameterName: s) // removePersistentProfileParameter_s_

Arguments

  • parameterName (string): The ID of the parameter to remove from the current group.

Examples

()removePersistentProfileParameter("running");

This example code removes the "running" parameter (or "running:*" parameters) from the current NPC group.

⚠️ **GitHub.com Fallback** ⚠️