From 1f9ffcd92db83d6cca7f8e140f8ea7216b39fb99 Mon Sep 17 00:00:00 2001 From: Wingthor Date: Thu, 13 Feb 2020 09:58:59 +0100 Subject: [PATCH] The error is to deep to solve on the fly. In database new groups appear, but not in map, when regular spawning (:Spawn()) is done. Spawning scheduled causes groups to appear on map. OnSpawnGroup is not triggered in neither of methods. #Issue 1255 is for now solved by adding a caution to documentation for function/directive: "CAUTION: this directive will NOT work with OnSpawnGroup function." Requires work from author or someone else with deep knowledge of the class. --- Moose Development/Moose/Core/Spawn.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Moose Development/Moose/Core/Spawn.lua b/Moose Development/Moose/Core/Spawn.lua index 200d8a7a0..1b0244185 100644 --- a/Moose Development/Moose/Core/Spawn.lua +++ b/Moose Development/Moose/Core/Spawn.lua @@ -998,6 +998,7 @@ end --- Makes the groups visible before start (like a batallion). -- The method will take the position of the group as the first position in the array. +-- CAUTION: this directive will NOT work with OnSpawnGroup function. -- @param #SPAWN self -- @param #number SpawnAngle The angle in degrees how the groups and each unit of the group will be positioned. -- @param #number SpawnWidth The amount of Groups that will be positioned on the X axis.