T
Thalariuz
Guest
Hello.
Im having problems with some spawn triggers.
In my map i want units to spawn in a region every minute, if a specfic building is alive. In this case a Altar of Storms.
And to reduce lag in game i set limit for units to be 50 for each player.
The thing is that every minute i get units, but the triggers seem not to care about the conditions.. when i got over 50 units, it still keeps coming more and more units every minute..
Trigger code looks like this at moment:
Event - timer expires
Condition - (Altar of storms 001<gen> is alive) equal to true
(Number of units in (Units owned by player 1 (red) of type Altar of storms)) less than or equal to 1
(number of units in (Units owned by player 1 (red))) Less than or equal to 50
Actions create units bla bla
Im having problems with some spawn triggers.
In my map i want units to spawn in a region every minute, if a specfic building is alive. In this case a Altar of Storms.
And to reduce lag in game i set limit for units to be 50 for each player.
The thing is that every minute i get units, but the triggers seem not to care about the conditions.. when i got over 50 units, it still keeps coming more and more units every minute..
Trigger code looks like this at moment:
Event - timer expires
Condition - (Altar of storms 001<gen> is alive) equal to true
(Number of units in (Units owned by player 1 (red) of type Altar of storms)) less than or equal to 1
(number of units in (Units owned by player 1 (red))) Less than or equal to 50
Actions create units bla bla