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
The removePersistentProfileParameter native AI script function removes a profile parameter from the current NPC group.
()removePersistentProfileParameter(parameterName: s) // removePersistentProfileParameter_s_
- parameterName (string): The ID of the parameter to remove from the current group.
()removePersistentProfileParameter("running");
This example code removes the "running" parameter (or "running:*" parameters) from the current NPC group.