How do I say this as a trigger? Quick question.

21ToWin

New Member
Reaction score
5
How would I say

"If Player 1 has 4 Footmen in Region 01" then...

I don't know how to base a trigger off of a certain number of units in a region.

This sounds really obvious but... idk lol.
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
ehm number of units in Region 01 owned by Player 1 matching (unit-type of matching unit equal to footman) equal to 4 or something like that?

or storing footmans in unit groups after they enter the region and when number of units in unit group gets to 4...?
 

Vnbear

Active Member
Reaction score
12
Code:
Untitled Trigger 001
    Events
    Conditions
        (Number of units in (Units in Region 000 <gen> matching (((Owner of (Matching unit)) Equal to Player 1 (Red)) and ((Unit-type of (Matching unit)) Equal to Footman)))) Equal to 4
    Actions
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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