How do i make this trigger work faster/ leakless?

CixxyZ

Active Member
Reaction score
7
Trigger:
  • Lylyanas Aegis Perioidic
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
      • BossLylyana Equal to True
    • Actions
      • Set TempDegrees = (Angle from (Position of TempBossUnit[1]) to (Position of LylyanaAegis[11]))
      • Unit - Move LylyanaAegis[11] instantly to ((Position of TempBossUnit[1]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[1]) to (Position of LylyanaAegis[12]))
      • Unit - Move LylyanaAegis[12] instantly to ((Position of TempBossUnit[1]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[1]) to (Position of LylyanaAegis[13]))
      • Unit - Move LylyanaAegis[13] instantly to ((Position of TempBossUnit[1]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[1]) to (Position of LylyanaAegis[14]))
      • Unit - Move LylyanaAegis[14] instantly to ((Position of TempBossUnit[1]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[2]) to (Position of LylyanaAegis[21]))
      • Unit - Move LylyanaAegis[21] instantly to ((Position of TempBossUnit[2]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[2]) to (Position of LylyanaAegis[22]))
      • Unit - Move LylyanaAegis[22] instantly to ((Position of TempBossUnit[2]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[2]) to (Position of LylyanaAegis[23]))
      • Unit - Move LylyanaAegis[23] instantly to ((Position of TempBossUnit[2]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[2]) to (Position of LylyanaAegis[24]))
      • Unit - Move LylyanaAegis[24] instantly to ((Position of TempBossUnit[2]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[3]) to (Position of LylyanaAegis[31]))
      • Unit - Move LylyanaAegis[31] instantly to ((Position of TempBossUnit[3]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[3]) to (Position of LylyanaAegis[32]))
      • Unit - Move LylyanaAegis[32] instantly to ((Position of TempBossUnit[3]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[3]) to (Position of LylyanaAegis[33]))
      • Unit - Move LylyanaAegis[33] instantly to ((Position of TempBossUnit[3]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[3]) to (Position of LylyanaAegis[34]))
      • Unit - Move LylyanaAegis[34] instantly to ((Position of TempBossUnit[3]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[4]) to (Position of LylyanaAegis[41]))
      • Unit - Move LylyanaAegis[41] instantly to ((Position of TempBossUnit[4]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[4]) to (Position of LylyanaAegis[42]))
      • Unit - Move LylyanaAegis[42] instantly to ((Position of TempBossUnit[4]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[4]) to (Position of LylyanaAegis[43]))
      • Unit - Move LylyanaAegis[43] instantly to ((Position of TempBossUnit[4]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[4]) to (Position of LylyanaAegis[44]))
      • Unit - Move LylyanaAegis[44] instantly to ((Position of TempBossUnit[4]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[5]) to (Position of LylyanaAegis[51]))
      • Unit - Move LylyanaAegis[51] instantly to ((Position of TempBossUnit[5]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[5]) to (Position of LylyanaAegis[52]))
      • Unit - Move LylyanaAegis[52] instantly to ((Position of TempBossUnit[5]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[5]) to (Position of LylyanaAegis[53]))
      • Unit - Move LylyanaAegis[53] instantly to ((Position of TempBossUnit[5]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[5]) to (Position of LylyanaAegis[54]))
      • Unit - Move LylyanaAegis[54] instantly to ((Position of TempBossUnit[5]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[6]) to (Position of LylyanaAegis[61]))
      • Unit - Move LylyanaAegis[61] instantly to ((Position of TempBossUnit[6]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[6]) to (Position of LylyanaAegis[62]))
      • Unit - Move LylyanaAegis[62] instantly to ((Position of TempBossUnit[6]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[6]) to (Position of LylyanaAegis[63]))
      • Unit - Move LylyanaAegis[63] instantly to ((Position of TempBossUnit[6]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
      • Set TempDegrees = (Angle from (Position of TempBossUnit[6]) to (Position of LylyanaAegis[64]))
      • Unit - Move LylyanaAegis[64] instantly to ((Position of TempBossUnit[6]) offset by 100.00 towards (TempDegrees + 2.00) degrees)


basically its to simulate a rotating shield around the boss level unit. How can i do this more efficiently or remove leaks? I have tried 0.03 sec periodic but it can only work properly with 0.01. Some people who played my map have complained about lag when using this current trigger.
Rep if you can help!
 

Zaraf

New Member
Reaction score
22
Can you provide a screenshot of what this looks like? How many different "shield" pieces do you have rotating at the same time? And you could probably do this better with a loop and such.
 

CixxyZ

Active Member
Reaction score
7
ok, the trigger just assumes that there are 6 bosses, without no alive checks { maybe i should add them. Then it creates 4 shield flying units around the boss, and it rotates around her perfectly.

Here's the creation trigger

Trigger:
  • Lylyanas Aegis
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Entering unit) Equal to TempBossUnit[1]
          • (Entering unit) Equal to TempBossUnit[2]
          • (Entering unit) Equal to TempBossUnit[3]
          • (Entering unit) Equal to TempBossUnit[4]
          • (Entering unit) Equal to TempBossUnit[5]
          • (Entering unit) Equal to TempBossUnit[6]
    • Actions
      • Set BossLylyana = True
      • Trigger - Turn on Lylyanas Aegis Perioidic <gen>
      • Trigger - Run Lylyanas Aegis Perioidic <gen> (ignoring conditions)
      • Set TempPoint = (Position of (Entering unit))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to TempBossUnit[1]
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Unit - Create 1 |c00999999[|r|c003399ffImp|r|c00999999]|r Lylyana's Aegis (10) for Player 11 (Dark Green) at (TempPoint offset by 100.00 towards ((Real((Integer A))) x 90.00) degrees) facing Default building facing degrees
              • Set LylyanaAegis[((Integer A) + 10)] = (Last created unit)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to TempBossUnit[2]
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Unit - Create 1 |c00999999[|r|c003399ffImp|r|c00999999]|r Lylyana's Aegis (10) for Player 11 (Dark Green) at (TempPoint offset by 100.00 towards ((Real((Integer A))) x 90.00) degrees) facing Default building facing degrees
              • Set LylyanaAegis[((Integer A) + 20)] = (Last created unit)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to TempBossUnit[3]
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Unit - Create 1 |c00999999[|r|c003399ffImp|r|c00999999]|r Lylyana's Aegis (10) for Player 11 (Dark Green) at (TempPoint offset by 100.00 towards ((Real((Integer A))) x 90.00) degrees) facing Default building facing degrees
              • Set LylyanaAegis[((Integer A) + 30)] = (Last created unit)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to TempBossUnit[4]
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Unit - Create 1 |c00999999[|r|c003399ffImp|r|c00999999]|r Lylyana's Aegis (10) for Player 11 (Dark Green) at (TempPoint offset by 100.00 towards ((Real((Integer A))) x 90.00) degrees) facing Default building facing degrees
              • Set LylyanaAegis[((Integer A) + 40)] = (Last created unit)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to TempBossUnit[5]
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Unit - Create 1 |c00999999[|r|c003399ffImp|r|c00999999]|r Lylyana's Aegis (10) for Player 11 (Dark Green) at (TempPoint offset by 100.00 towards ((Real((Integer A))) x 90.00) degrees) facing Default building facing degrees
              • Set LylyanaAegis[((Integer A) + 50)] = (Last created unit)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to TempBossUnit[6]
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Unit - Create 1 |c00999999[|r|c003399ffImp|r|c00999999]|r Lylyana's Aegis (10) for Player 11 (Dark Green) at (TempPoint offset by 100.00 towards ((Real((Integer A))) x 90.00) degrees) facing Default building facing degrees
              • Set LylyanaAegis[((Integer A) + 60)] = (Last created unit)
        • Else - Actions
      • Custom script: call RemoveLocation (udg_TempPoint)
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
How do i make this trigger work faster?

:nuts:

0.01 might and will cause lag

you have a lot of point leaks there....

put them in a point variable and remove them

also use loops...
 

CixxyZ

Active Member
Reaction score
7
oH CRAP . When I made the trigger is already past midnight thansk for reminding me. I'll add temp point and for loops
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
instead of moving each unit individually why don't you add all of them to a unit group and just use "Pick every unit in TempGroup" and move the picked unit

either use that or loops

a lot less work
 

CixxyZ

Active Member
Reaction score
7
Can't put into group cuase i want the shields to separate.
ok, How's this now?

Trigger:
  • Lylyanas Aegis Perioidic
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
      • BossLylyana Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[1] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempDegrees = (Angle from (Position of TempBossUnit[1]) to (Position of LylyanaAegis[((Integer A) + 10)]))
              • Set TempPoint4 = ((Position of TempBossUnit[1]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 10)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[2] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempDegrees = (Angle from (Position of TempBossUnit[2]) to (Position of LylyanaAegis[((Integer A) + 20)]))
              • Set TempPoint4 = ((Position of TempBossUnit[2]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 20)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[3] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempDegrees = (Angle from (Position of TempBossUnit[3]) to (Position of LylyanaAegis[((Integer A) + 30)]))
              • Set TempPoint4 = ((Position of TempBossUnit[3]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 30)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[4] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempDegrees = (Angle from (Position of TempBossUnit[4]) to (Position of LylyanaAegis[((Integer A) + 40)]))
              • Set TempPoint4 = ((Position of TempBossUnit[4]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 40)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[5] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempDegrees = (Angle from (Position of TempBossUnit[5]) to (Position of LylyanaAegis[((Integer A) + 50)]))
              • Set TempPoint4 = ((Position of TempBossUnit[5]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 50)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[6] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempDegrees = (Angle from (Position of TempBossUnit[6]) to (Position of LylyanaAegis[((Integer A) + 60)]))
              • Set TempPoint4 = ((Position of TempBossUnit[6]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 60)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
        • Else - Actions


can make even better?
 

Gwypaas

hook DoNothing MakeGUIUsersCrash
Reaction score
50
Trigger:
  • Set TempDegrees = (Angle from (Position of TempBossUnit[1]) to (Position of LylyanaAegis[((Integer A) + 10)]))
    • Set TempPoint4 = ((Position of TempBossUnit[1]) offset by 100.00 towards (TempDegrees + 2.00) degrees)


All the position stuff in there leaks, use variables and remove them to prevent this script from casuing massive leaks.
 

CixxyZ

Active Member
Reaction score
7
Not leaking anymore :D

Trigger:
  • Lylyanas Aegis Perioidic
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
      • BossLylyana Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[1] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempPoint = (Position of TempBossUnit[1])
              • Set TempPoint2 = (Position of LylyanaAegis[((Integer A) + 10)])
              • Set TempDegrees = (Angle from TempPoint to TempPoint2)
              • Set TempPoint4 = ((Position of TempBossUnit[1]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 10)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
              • Custom script: call RemoveLocation (udg_TempPoint2)
              • Custom script: call RemoveLocation (udg_TempPoint4)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[2] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempPoint = (Position of TempBossUnit[2])
              • Set TempPoint2 = (Position of LylyanaAegis[((Integer A) + 20)])
              • Set TempDegrees = (Angle from TempPoint to TempPoint2)
              • Set TempPoint4 = ((Position of TempBossUnit[2]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 20)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
              • Custom script: call RemoveLocation (udg_TempPoint2)
              • Custom script: call RemoveLocation (udg_TempPoint4)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[3] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempPoint = (Position of TempBossUnit[3])
              • Set TempPoint2 = (Position of LylyanaAegis[((Integer A) + 30)])
              • Set TempDegrees = (Angle from TempPoint to TempPoint2)
              • Set TempPoint4 = ((Position of TempBossUnit[3]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 30)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
              • Custom script: call RemoveLocation (udg_TempPoint4)
              • Custom script: call RemoveLocation (udg_TempPoint2)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[4] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempPoint = (Position of TempBossUnit[4])
              • Set TempPoint2 = (Position of LylyanaAegis[((Integer A) + 40)])
              • Set TempDegrees = (Angle from TempPoint to TempPoint2)
              • Set TempPoint4 = ((Position of TempBossUnit[4]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 40)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
              • Custom script: call RemoveLocation (udg_TempPoint2)
              • Custom script: call RemoveLocation (udg_TempPoint4)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[5] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempPoint = (Position of TempBossUnit[5])
              • Set TempPoint2 = (Position of LylyanaAegis[((Integer A) + 50)])
              • Set TempDegrees = (Angle from TempPoint to TempPoint2)
              • Set TempPoint4 = ((Position of TempBossUnit[5]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 50)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
              • Custom script: call RemoveLocation (udg_TempPoint4)
              • Custom script: call RemoveLocation (udg_TempPoint2)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (TempBossUnit[6] is alive) Equal to True
        • Then - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • Set TempPoint = (Position of TempBossUnit[6])
              • Set TempPoint2 = (Position of LylyanaAegis[((Integer A) + 60)])
              • Set TempDegrees = (Angle from TempPoint to TempPoint2)
              • Set TempPoint4 = ((Position of TempBossUnit[6]) offset by 100.00 towards (TempDegrees + 2.00) degrees)
              • Unit - Move LylyanaAegis[((Integer A) + 60)] instantly to TempPoint4
              • Custom script: call RemoveLocation (udg_TempPoint)
              • Custom script: call RemoveLocation (udg_TempPoint4)
              • Custom script: call RemoveLocation (udg_TempPoint2)
        • Else - Actions
 

vypur85

Hibernate
Reaction score
803
> Not leaking anymore

Still leaks.
Code:
Set TempPoint = (Position of TempBossUnit[1])
Set TempPoint2 = (Position of LylyanaAegis[((Integer A) + 10)])
Set TempDegrees = (Angle from TempPoint to TempPoint2)
Set TempPoint4 = ([B](Position of TempBossUnit[1])[/B] offset by 100.00 towards (TempDegrees + 2.00) degrees)

Use this:
Code:
Set TempPoint = (Position of TempBossUnit[1])
Set TempPoint2 = (Position of LylyanaAegis[((Integer A) + 10)])
Set TempDegrees = (Angle from TempPoint to TempPoint2)
Set TempPoint4 = ([B]TempPoint[/B] offset by 100.00 towards (TempDegrees + 2.00) degrees)

Same goes for the others.


Condensed version:
Code:
Actions
  For each ([B]Integer B[/B]) from [B]1 to 6[/B], do (Actions)
     Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (TempBossUnit[[B]Integer B[/B]] is alive) Equal to True
            Then - Actions
                For each (Integer A) from 1 to 4, do (Actions)
                    Loop - Actions
                        Set TempPoint = (Position of TempBossUnit[[B]Integer B[/B]])
                        Set TempPoint2 = (Position of LylyanaAegis[((Integer A) + [B](10 x Integer B)[/B])])
                        Set TempDegrees = (Angle from TempPoint to TempPoint2)
                        Set TempPoint4 = [B]TempPoint[/B] offset by 100.00 towards (TempDegrees + 2.00) degrees)
                        Unit - Move LylyanaAegis[((Integer A) + [B](10 x Integer B)[/B])] instantly to TempPoint4
                        Custom script:   call RemoveLocation (udg_TempPoint)
                        Custom script:   call RemoveLocation (udg_TempPoint2)
                        Custom script:   call RemoveLocation (udg_TempPoint4)
            Else - Actions

Hope I don't miss out anything. It looks confusing in a block of text... =.= The bolded stuff are important changes.
 

kingkingyyk3

Visitor (Welcome to the Jungle, Baby!)
Reaction score
216
>>Every 0.01 seconds of game time

Use 0.03/0.04 seconds. 0.01 eats up your processor....
 

CixxyZ

Active Member
Reaction score
7
Thanks a lot vypur. King, the trigger doesnt work properly on 0.03 i already stated.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      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