Unit take over

Kevinjoha

Member
Reaction score
2
i need like this:

Unit type of Control point 20g got hp lower than 50

becomes attacking units, unit

now i have no idea to create this, if anyone played dark ages of warcraft or Azeroth wars Legacy reborn you know when attacking a control point then it becomes yours..
 

malfy

New Member
Reaction score
4
Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in CONTROLPOINT20G <gen> matching ((Integer((Life of (Picked unit)))) Less than 50)) and do (Actions)
        • Loop - Actions
          • Unit - Change ownership of (Picked unit) to (Owner of (Attacking unit)) and Change color


where 'CONTROLPOINT20G <gen>' is a region defining the area of your control point
 

Kevinjoha

Member
Reaction score
2
but isnt it possible

Unit a unit is attacked

condition: unit equal to control point 20 g instead that unit group thingy?
 

malfy

New Member
Reaction score
4
but isnt it possible

Unit a unit is attacked

condition: unit equal to control point 20 g instead that unit group thingy?

umm well i dont know what the hell 'control point 20 g' is.... add a LOT more detail (as much as possible in your case) and then maybe I can tell you what you're looking for
 

Kevinjoha

Member
Reaction score
2
Control point 20g is a building i set around the world but its and instead of having do for example your way, by setting regions around maybe 100 control points , i may do like i get them all in one way which i need:

unit type equal to Control point has less than 50 health

as an action

and then another action change ownership of picked unit.. bla bla bla. :p
 

malfy

New Member
Reaction score
4
so like this?

Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Control point 20g
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Life of (Triggering unit)) Less than 50.00
        • Then - Actions
          • Unit - Change ownership of (Triggering unit) to (Owner of (Attacking unit)) and Change color
        • Else - Actions
          • Do nothing
 
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