Text Message Help

Monsterous

In the Shadows, Lurking.
Reaction score
99
Heres the situation:
If a unit is inside a region after a periodic event ends, then a text message will display.
However, if two units of the same player is inside a unit, how do i make it so only one text messsage will display, not two; if it detects via a pick all units in region unit group action?

If its not viable via a pick all units in region unit group action - do tell how :3
 

formerself

New Member
Reaction score
3
This is one way, but Ancanus' solution is easier.

Code:
Periodic Event
    Events
        Timer - Every 5.0 seconds of Game Time
    Local Variables
        U = No Unit <Unit>
    Conditions
    Actions
        Unit Group - For each unit U in (Any units in Region 001 owned by player 1 matching Excluded: Missile, Dead, Hidden, with at most 1) do (Actions)
            Actions
                UI - Display "There is at least one unit in the region." for (All players) to Subtitle area
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top