Trigger repeat help

gofd.pwn_u

New Member
Reaction score
0
Code:
Red Respawn Gnolls
    Events
        Player - Player 1 (Red) types a chat message containing -Respawn Gnolls as An exact match
    Conditions
        (Number of units in (Units in Gnoll Spawn 1 <gen>)) Equal to 0
    Actions
        Unit - Create 6 Gnoll for Neutral Hostile at (Center of Gnoll Spawn 1 <gen>) facing Default building facing degrees
My trigger seems to only work once what is my problem?
 

Seannny

Why GUI when you can Jass?
Reaction score
46
You need to continue to type -respawn to get more to spawn after all are dead. Are you sure you are doing that? Also, make sure that there are no units in the region. Your condition checks if anything is there.
 

Squishy

You can change this now in User CP.
Reaction score
127
>You need to continue to type -respawn to get more to spawn after all are dead.
I think thats whats supposed to happen.

I tryed this and it worked fine for me.
 

cleeezzz

The Undead Ranger.
Reaction score
268
Your condition checks if anything is there.

even dead units XD.


Code:
(Number of units in (Gnoll Spawn <gen>) matching (((Matching unit) is alive) Equal to True))) Equal to 0

try this.
 

gofd.pwn_u

New Member
Reaction score
0
Ok on that trigger i got up to
Code:
Number of units in (gnoll spawn <gen>)
how do you get the
Code:
matching (((Matching unit) is alive) Equal to True))) Equal to 0
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top