Condition help(simple)

vespt

New Member
Reaction score
4
Hey...
How can i create a condition that checks if a unit is alive?
Thx in advance
 

Ithladir

Member
Reaction score
5
Do you mean something like this?

Code:
Check Alive or Dead
    Events
        Time - Elapsed game time is 5.00 seconds
    Conditions
    Actions
        Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Unit-type of (Picked unit)) Equal to Footman
                        ((Picked unit) is alive) Equal to True
                    Then - Actions
                    Else - Actions

if not please give more details
 
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