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.
This commit is contained in:
Wingthor 2020-02-13 09:58:59 +01:00
parent 12ef34acaa
commit 1f9ffcd92d

View File

@ -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.