diff --git a/code/ryzom/server/src/entities_game_service/admin.cpp b/code/ryzom/server/src/entities_game_service/admin.cpp index 5db31d071..6c8a8f555 100644 --- a/code/ryzom/server/src/entities_game_service/admin.cpp +++ b/code/ryzom/server/src/entities_game_service/admin.cpp @@ -5473,7 +5473,7 @@ NLMISC_COMMAND(setFamePlayer, "set the fame value of a player in the given facti //---------------------------------------------------------------------------- -NLMISC_COMMAND(eventCreateNpcGroup, "create an event npc group", " [ [ [ []]]]") +NLMISC_COMMAND(eventCreateNpcGroup, "create an event npc group", " [ [ [ [ [ []]]]]]") { if (args.size () < 3) return false; GET_ENTITY @@ -5531,6 +5531,16 @@ NLMISC_COMMAND(eventCreateNpcGroup, "create an event npc group", " < std::string botsName; if (args.size()>6) botsName = args[6]; + if (args.size()>7) + { + NLMISC::fromString(args[7], x); + x = x * 1000; + } + if (args.size()>8) + { + NLMISC::fromString(args[8], y); + y = y * 1000; + } CMessage msgout("EVENT_CREATE_NPC_GROUP"); uint32 messageVersion = 1;