Hi, so here is one specific question, but the answer to this might change how I look at triggers.
In the trigger below (simplified for convenience), the game detects the "Unit type of summoned unit", no problem. The trigger works.
And follow-up question: If that IS problematic, after all, could it be a cause of the glicthes I am experiencing in my map?
In the trigger below (simplified for convenience), the game detects the "Unit type of summoned unit", no problem. The trigger works.
-
Variety summon Rodents
-

Events
-


Unit - A unit Spawns a summoned unit
-
-

Conditions
-


Or - Any (Conditions) are true
-



Conditions
-




(Unit-type of (Summoning unit)) Equal to Varmint Nest (Rodents)
-




(Unit-type of (Summoning unit)) Equal to Varmint Nest (Gophers)
-
-
-
-

Actions
-


Game - Display to (All players) the text: Rats!
-


Set Standpoint = (Position of (Summoning unit))
-


Set Gewerbegebiet = (Region centered at Standpoint with size (700.00, 700.00))
-


-------- Rodents and Gophers --------
-


Set Fleeceposition = (Random point in Gewerbegebiet)
-


Unit - Remove (Summoned unit) from the game
-


Unit - Create 1 (Unit-type of (Summoned unit)) for (Owner of (Summoned unit)) at Fleeceposition facing Standpoint
-


Custom script: call RemoveLocation(udg_Fleeceposition)
-


Set Louis = (Last created unit)
-


Custom script: call RemoveLocation(udg_Standpoint)
-


Custom script: call RemoveRect(udg_Gewerbegebiet)
-
-
And follow-up question: If that IS problematic, after all, could it be a cause of the glicthes I am experiencing in my map?
