remove_persistent_profile_parameter - ryzom/ryzomcore GitHub Wiki


title: Remove Persistent Profile Parameter description: published: true date: 2023-03-13T17:09:45.032Z tags: editor: markdown dateCreated: 2023-03-13T17:09:45.032Z

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** ⚠️