different bomb problem

blooman

New Member
Reaction score
16
ok for some reason my trigger sometimes skips a building and sometimes it doesnt
i only want it to hit up and right
and no i dont want to fix the horrible leaks
Trigger:
  • Melee Initialization
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Constructed structure)) Equal to (==) Bomb
    • Actions
      • Floating Text - Create floating text that reads 2 above (Constructed structure) with Z offset 0.00, using font size 15.00, color (50.00%, 100.00%, 100.00%), and 0.00% transparency
      • Wait 1.00 seconds
      • Floating Text - Destroy (Last created floating text)
      • Floating Text - Create floating text that reads 1 above (Constructed structure) with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 50.00%), and 0.00% transparency
      • Wait 1.00 seconds
      • Floating Text - Destroy (Last created floating text)
      • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) + 170.00), (Y of (Constructed structure)))) with size (200.00, 200.00))) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)
          • Unit - Kill (Constructed structure)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 1.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) + 380.00), (Y of (Constructed structure)))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 2.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) + 570.00), (Y of (Constructed structure)))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 3.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) + 730.00), (Y of (Constructed structure)))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 4.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) + 900.00), (Y of (Constructed structure)))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 5.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) + 1080.00), (Y of (Constructed structure)))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 6.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) + 1250.00), (Y of (Constructed structure)))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
      • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) + 170.00), (Y of (Constructed structure)))) with size (200.00, 200.00))) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)
          • Unit - Kill (Constructed structure)
      • Unit Group - Pick every unit in (Units in (Region centered at (Point(((X of (Constructed structure)) - 170.00), (Y of (Constructed structure)))) with size (200.00, 200.00))) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)
          • Unit - Kill (Constructed structure)
      • Unit Group - Pick every unit in (Units in (Region centered at (Point((X of (Constructed structure)), ((Y of (Constructed structure)) + 170.00))) with size (200.00, 200.00))) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)
          • Unit - Kill (Constructed structure)
      • Unit Group - Pick every unit in (Units in (Region centered at (Point((X of (Constructed structure)), ((Y of (Constructed structure)) - 170.00))) with size (200.00, 200.00))) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)
          • Unit - Kill (Constructed structure)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 1.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point((X of (Constructed structure)), ((Y of (Constructed structure)) + 380.00))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 2.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point((X of (Constructed structure)), ((Y of (Constructed structure)) + 570.00))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 3.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point((X of (Constructed structure)), ((Y of (Constructed structure)) + 730.00))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 4.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point((X of (Constructed structure)), ((Y of (Constructed structure)) + 900.00))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 5.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point((X of (Constructed structure)), ((Y of (Constructed structure)) + 1080.00))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Rpower[(Player number of (Owner of (Constructed structure)))] Greater than or equal to (>=) 6.00
          • Then - Actions
            • Unit Group - Pick every unit in (Units in (Region centered at (Point((X of (Constructed structure)), ((Y of (Constructed structure)) + 1250.00))) with size (200.00, 200.00))) and do (Actions)
              • Loop - Actions
                • Unit - Kill (Picked unit)
                • Unit - Kill (Constructed structure)
          • Else - Actions
      • Unit - Kill (Constructed structure)
 

Defi4nc3

Developer of DORPG
Reaction score
20
The most obvious is that this will not work if your using rapid construction of the bombs... Yes it will skip them... Because you have a 2 second polled wait, and i'm not sure how fast you can construct the bombs, but if its faster than 2 seconds, theres your problem.
 

blooman

New Member
Reaction score
16
The most obvious is that this will not work if your using rapid construction of the bombs... Yes it will skip them... Because you have a 2 second polled wait, and i'm not sure how fast you can construct the bombs, but if its faster than 2 seconds, theres your problem.
you mean the building time?
oh yah even if i only make 1 it doesnt work
 

Defi4nc3

Developer of DORPG
Reaction score
20
No what i'm saying is... The building time of the Bomb needs to be longer than 2 seconds or else its going to skip...

Lets say you construct 2 bombs and you can make a bomb in 1 second... By the time the Damage part of your trigger fires its gonna fire twice on the 2nd constructed bomb instead of both... Your trigger is not multi functional~

And if you have more than one player constructing bombs... Oh boy its gonna be hectic :p
 

Defi4nc3

Developer of DORPG
Reaction score
20
It'll make this trigger not skip like you say... But you won't have your floating text...

So yes i'd suggest removing the waits and floating text and it'll be just fine~
 

blooman

New Member
Reaction score
16
It'll make this trigger not skip like you say... But you won't have your floating text...

So yes i'd suggest removing the waits and floating text and it'll be just fine~
it still doesnt work waaaaaaaah
it still skips some buildings
 

Defi4nc3

Developer of DORPG
Reaction score
20
Is it skipping the same type of bomb? Or is it skipping bombs after you start increasing its power?
 

blooman

New Member
Reaction score
16
Is it skipping the same type of bomb? Or is it skipping bombs after you start increasing its power?
skipping bombs?
i mean it skips the walls it blows uplike
The walls = X
Bomb = Y
Dead Wall = Z
YXXXXXXX
then this might happen
YZZZZXZZ
i think it starts happening after skipping power
 

Defi4nc3

Developer of DORPG
Reaction score
20
skipping bombs?
i mean it skips the walls it blows uplike
The walls = X
Bomb = Y
Dead Wall = Z
YXXXXXXX
then this might happen
YZZZZXZZ
i think it starts happening after skipping power

Well you also have a lot repeated triggers, just because you spam the action doesn't mean its gonna kill anything faster or better :p

You have multiple Kill Picked Unit actions that are not even before a If than else like most of it.

Your also not checking to make sure the picked units are Alive, so it will be trying to kill already dead units as well.

Some of your else's are blank, you need to have "Do Nothing" action when using GUI.
 

blooman

New Member
Reaction score
16
Well you also have a lot repeated triggers, just because you spam the action doesn't mean its gonna kill anything faster or better :p

You have multiple Kill Picked Unit actions that are not even before a If than else like most of it.

Your also not checking to make sure the picked units are Alive, so it will be trying to kill already dead units as well.

Some of your else's are blank, you need to have "Do Nothing" action when using GUI.
i heard using do nothing just takes up space
they arent repeated they have different points like X of unit things
 
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