spawn_dyn_group - ryzom/ryzomcore GitHub Wiki
title: Spawn Dyn Group description: Spawn a dynamic NPC group (not for production use) published: true date: 2026-03-14T00:00:00.000Z tags: editor: markdown dateCreated: 2026-03-14T00:00:00.000Z
This action type is not intended for production use. Use AI script functions like newNpcChildGroup() instead. {.is-warning}
The spawn_dyn_group action spawns a dynamic NPC group from a template. This is a legacy action that predates the AI script dynamic group creation functions and has limited functionality compared to the script-based approach.
For production use, prefer the code action type with the newNpcChildGroup() or newNpcChildGroupPos() AI script functions, which offer more control over spawn position, parent-child relationships, and multilevel groups.
Source: ryzom/server/src/ai_service/generic_logic_action.cpp