Bomb Feature w/e

blooman

New Member
Reaction score
16
Im wonder how to make the trigger which kills anything right of it thats near it
I got this so far and it doesnt work
Trigger:
  • Melee Initialization
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Constructed structure)) Equal to (==) Bomb
    • Actions
      • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) + 50.00), (Y of (Constructed structure)))) with size (50.00, 50.00))) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)

any help?
SOLVED
but i had to make like 30 IF / Else things
 

Defi4nc3

Developer of DORPG
Reaction score
20
Trigger:
  • Unit Group - Pick every unit in (Units within 325.00 of (Position of (Constructed structure))) and do (Actions)
    • Loop - Actions
      • Unit - Kill (Picked unit)


Use that action instead, change the radius 325 to whatever you want, but 325 is pretty good for a bomb.
 

blooman

New Member
Reaction score
16
Trigger:
  • Unit Group - Pick every unit in (Units within 325.00 of (Position of (Constructed structure))) and do (Actions)
    • Loop - Actions
      • Unit - Kill (Picked unit)


Use that action instead, change the radius 325 to whatever you want, but 325 is pretty good for a bomb.
cant i dont want it to attack diagonally
 

kingkwong92

Well-Known Member
Reaction score
25
Set bomb_group = units within 250 of constructed unit matching (what ever condition you want)
Pick all units in bomb_group and
loop
Explode picked unit

EDIT!!
What do you mean diagonally
Do you want all units in a line horizontal and vertical
 

blooman

New Member
Reaction score
16
Set bomb_group = units within 250 of constructed unit matching (what ever condition you want)
Pick all units in bomb_group and
loop
Explode picked unit

EDIT!!
What do you mean diagonally
Do you want all units in a line horizontal and vertical
yes exactly
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top