Creep revive isn't working

Kayoss666

Member
Reaction score
7
Code:
[wc3]
WindmillDungeonCreeps
    Events
    Conditions
    Actions
        Wait 0.10 seconds
        Unit Group - Pick every unit in (Units in WindmillDungeon1stStage <gen>) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) is A Hero) Equal to True
                    Then - Actions
                        Unit Group - Add (Picked unit) to DungeonHeroUnits
                    Else - Actions
        Player Group - Pick every player in (All players matching ((WindmillDungeon1stStage <gen> contains PlayerUnit[(Player number of (Matching player))]) Equal to True)) and do (Actions)
            Loop - Actions
                Player Group - Add (Picked player) to DungeonHeroes
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9633.00, 13816.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9431.00, 13900.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9031.00, 14200.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8985.00, 14000.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9101.00, 13900.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8297.00, 13950.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8322.00, 13672.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8447.00, 13634.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8623.00, 14701.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8558.00, 14705.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Bruiser for Neutral Hostile at ((Center of (Playable map area)) offset by (-8473.00, 14703.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8396.00, 14705.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8329.00, 14701.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7900.00, 15050.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Bruiser for Neutral Hostile at ((Center of (Playable map area)) offset by (-7761.00, 15267.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7825.00, 15451.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7510.00, 13663.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-7489.00, 13964.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Brawler for Neutral Hostile at ((Center of (Playable map area)) offset by (-7391.00, 13762.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-7276.00, 13929.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7255.00, 13683.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Wait 0.10 seconds
        Set DCreep_Count = 0
[/wc3]
Code:
[wc3]
WindmillDungeonCreeps2
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Dying unit)) Equal to Goblin Brawler
    Actions
        Unit Group - Pick every unit in DungeonCreeps and do (Actions)
            Loop - Actions
                Unit - Remove (Picked unit) from the game
                Unit Group - Remove (Picked unit) from DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 13186.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 12971.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 12745.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-8524.00, 13000.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-8524.00, 12800.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-7517.00, 12758.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-7517.00, 13003.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Nazrook Geargrind for Neutral Hostile at ((Center of (Playable map area)) offset by (-7406.00, 12907.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Wait 0.10 seconds
        Set DCreep_Count = 0
        Unit Group - Pick every unit in DungeonHeroUnits and do (Unit - Move (Picked unit) instantly to (Random point in WindmillDungeonBossEntry <gen>))
[/wc3]
Code:
[wc3]
DungeonCreepRevive
    Events
        Unit - A unit enters Dungeon1Entry <gen>
    Conditions
    Actions
        Wait 0.02 seconds
        Unit Group - Pick every unit in DungeonCreeps and do (Actions)
            Loop - Actions
                Set DCreep_Count = (DCreep_Count + 1)
                Set DCreep_Start_Position[DCreep_Count] = (Position of (Picked unit))
                Unit - Set the custom value of (Picked unit) to DCreep_Count
[/wc3]
Code:
[wc3]
ReviveDCreeps
    Events
        Unit - A unit Dies
    Conditions
        ((Dying unit) is in DungeonCreeps) Equal to True
    Actions
        Wait (Random real number between 25.00 and 30.00) seconds
        Unit - Create 1 (Unit-type of (Dying unit)) for Neutral Hostile at DCreep_Start_Position[(Custom value of (Dying unit))] facing (Random angle) degrees
        Unit - Set the custom value of (Last created unit) to (Custom value of (Dying unit))
        Unit Group - Add (Last created unit) to DungeonCreeps
[/wc3]

it some-what works if you take the wait down to 5 seconds and set dcreep count to 700.
 

Chewbalka

New Member
Reaction score
14
The 2nd and last trigger are using the same event are probably incompatible.
The last trigger depends on
((Dying unit) is in DungeonCreeps) Equal to True

But the second posted trigger removes all units from the unit group:
Unit Group - Remove (Picked unit) from DungeonCreeps

Actually looking at the second trigger it looks like if you kill any 'DungeonCreeps' they will all get removed from the unit group regarless of being alive or dead and new units will be spawned. If there is further tiers of mobs the dungeon will get packed very fast.

Anyway you may be able to fix this by combining the triggers and using a If then else to evaluate each one seperetly and in order.
 

Kayoss666

Member
Reaction score
7
Code:
[wc3]
WindmillDungeonCreeps
    Events
    Conditions
    Actions
        Wait 0.10 seconds
        Unit Group - Pick every unit in (Units in WindmillDungeon1stStage <gen>) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) is A Hero) Equal to True
                    Then - Actions
                        Unit Group - Add (Picked unit) to DungeonHeroUnits
                    Else - Actions
        Player Group - Pick every player in (All players matching ((WindmillDungeon1stStage <gen> contains PlayerUnit[(Player number of (Matching player))]) Equal to True)) and do (Actions)
            Loop - Actions
                Player Group - Add (Picked player) to DungeonHeroes
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9633.00, 13816.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9431.00, 13900.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9031.00, 14200.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8985.00, 14000.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9101.00, 13900.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8297.00, 13950.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8322.00, 13672.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8447.00, 13634.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8623.00, 14701.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8558.00, 14705.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Bruiser for Neutral Hostile at ((Center of (Playable map area)) offset by (-8473.00, 14703.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8396.00, 14705.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8329.00, 14701.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7900.00, 15050.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Bruiser for Neutral Hostile at ((Center of (Playable map area)) offset by (-7761.00, 15267.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7825.00, 15451.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7510.00, 13663.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-7489.00, 13964.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Brawler for Neutral Hostile at ((Center of (Playable map area)) offset by (-7391.00, 13762.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-7276.00, 13929.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7255.00, 13683.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Wait 0.10 seconds
        Set DCreep_Count = 0
[/wc3]
Code:
[wc3]
WindmillDungeonCreeps2
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Dying unit)) Equal to Goblin Brawler
    Actions
        Unit Group - Pick every unit in DungeonCreeps and do (Actions)
            Loop - Actions
                Unit - Remove (Picked unit) from the game
                Unit Group - Remove (Picked unit) from DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 13186.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 12971.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 12745.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-8524.00, 13000.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-8524.00, 12800.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-7517.00, 12758.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-7517.00, 13003.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Unit - Create 1 Nazrook Geargrind for Neutral Hostile at ((Center of (Playable map area)) offset by (-7406.00, 12907.00)) facing Default building facing degrees
        Unit Group - Add (Last created unit) to DungeonCreeps
        Wait 0.10 seconds
        Set DCreep_Count = 0
        Unit Group - Pick every unit in DungeonHeroUnits and do (Unit - Move (Picked unit) instantly to (Random point in WindmillDungeonBossEntry <gen>))
[/wc3]
Code:
[wc3]
DungeonCreepRevive
    Events
        Unit - A unit enters Dungeon1Entry <gen>
    Conditions
    Actions
        Wait 0.02 seconds
        Unit Group - Pick every unit in DungeonCreeps and do (Actions)
            Loop - Actions
                Set DCreep_Count = (DCreep_Count + 1)
                Set DCreep_Start_Position[DCreep_Count] = (Position of (Picked unit))
                Unit - Set the custom value of (Picked unit) to DCreep_Count
[/wc3]
Code:
[wc3]
ReviveDCreeps
    Events
        Unit - A unit Dies
    Conditions
        ((Dying unit) is in DungeonCreeps) Equal to True
    Actions
        Wait (Random real number between 25.00 and 30.00) seconds
        Unit - Create 1 (Unit-type of (Dying unit)) for Neutral Hostile at DCreep_Start_Position[(Custom value of (Dying unit))] facing (Random angle) degrees
        Unit - Set the custom value of (Last created unit) to (Custom value of (Dying unit))
        Unit Group - Add (Last created unit) to DungeonCreeps
[/wc3]

it some-what works if you take the wait down to 5 seconds and set dcreep count to 700.

okay based on the reply this might be confusing so i will explain more the first trigger is ran by a player standing at the entrance for the dungeon and typing -enter. this moves the player/s to the dungeon and runs the first trigger. the player being moved runs the 3rd trigger storing the dungeon creeps and their position the fourth trigger runs whenever any creep in the group dungeon creeps dies. which should bring bring them back after the wait period and reput the creature back into the group. *this is where i think the error is* the second trigger is ran when the mini boss dies. it removes the creeps in the dungeons first stage and places the newly created creeps into the group.
 

Chewbalka

New Member
Reaction score
14
First removing the code tags makes this much more readable.
Since i can't see an obviouse problem for some reason ill post all my concerns.

1. In the second trigger, switch the place of these two lines:
Unit - Remove (Picked unit) from the game
Unit Group - Remove (Picked unit) from DungeonCreeps

to
Unit Group - Remove (Picked unit) from DungeonCreeps
Unit - Remove (Picked unit) from the game

I doubt that is the problem but better safe then sorry.

2. refering to the 3rd trigger, the event is causing the trigger to be run for every player. But the Trigger based off its actions only need to be run once. This is causing accumulation of un-needed data.

It does not reset DCreep_count, therefore each unit in DungeonCreeps is counted as many times as there are player heros entering the region. (which im assuming is all)
Solutions:
Removing the event and using
Trigger:
  • Trigger - Run DungeonCreepRevive (checking conditions)

At the end of the trigger "WindmillDungeonCreeps" Or any other location it will be run only once and when necessary.

You could also add
Trigger:
  • Set DCreep_Count = 0

To the very beginning of the trigger so even though it runs multiple times it does the exact same thing each time.


You could also try this as a type of 'debugging', by using "Game - show text" in the triggers below. I usually add way more so i know exactly how its progressing as it does, id suggest adding more where ever you think there may be a problem.

Trigger:
  • WindmillDungeonCreeps
    • Events
    • Conditions
    • Actions
      • Wait 0.10 seconds
      • Unit Group - Pick every unit in (Units in WindmillDungeon1stStage &lt;gen&gt;) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A Hero) Equal to True
            • Then - Actions
              • Unit Group - Add (Picked unit) to DungeonHeroUnits
            • Else - Actions
      • Player Group - Pick every player in (All players matching ((WindmillDungeon1stStage &lt;gen&gt; contains PlayerUnit[(Player number of (Matching player))]) Equal to True)) and do (Actions)
        • Loop - Actions
          • Player Group - Add (Picked player) to DungeonHeroes
      • Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9633.00, 13816.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9431.00, 13900.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9031.00, 14200.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8985.00, 14000.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9101.00, 13900.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8297.00, 13950.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8322.00, 13672.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8447.00, 13634.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8623.00, 14701.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8558.00, 14705.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Bruiser for Neutral Hostile at ((Center of (Playable map area)) offset by (-8473.00, 14703.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8396.00, 14705.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8329.00, 14701.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7900.00, 15050.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Bruiser for Neutral Hostile at ((Center of (Playable map area)) offset by (-7761.00, 15267.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7825.00, 15451.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7510.00, 13663.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-7489.00, 13964.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Brawler for Neutral Hostile at ((Center of (Playable map area)) offset by (-7391.00, 13762.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-7276.00, 13929.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7255.00, 13683.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Wait 0.10 seconds
      • Set DCreep_Count = 0
      • Trigger - Run DungeonCreepRevive (checking conditions)

Trigger:
  • WindmillDungeonCreeps2
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Goblin Brawler
    • Actions
      • Game - Display to (All players) the text: &quot;Boss killed&quot;
      • Unit Group - Pick every unit in DungeonCreeps and do (Actions)
        • Loop - Actions
          • Unit Group - Remove (Picked unit) from DungeonCreeps
          • Unit - Remove (Picked unit) from the game
      • Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 13186.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 12971.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 12745.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-8524.00, 13000.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-8524.00, 12800.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-7517.00, 12758.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-7517.00, 13003.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Unit - Create 1 Nazrook Geargrind for Neutral Hostile at ((Center of (Playable map area)) offset by (-7406.00, 12907.00)) facing Default building facing degrees
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Wait 0.10 seconds
      • Set DCreep_Count = 0
      • Unit Group - Pick every unit in DungeonHeroUnits and do (Unit - Move (Picked unit) instantly to (Random point in WindmillDungeonBossEntry &lt;gen&gt;))

Trigger:
  • DungeonCreepRevive
    • Events
    • Conditions
    • Actions
      • Game - Display to (All players) the text: &quot;Player Enters Dungeon&quot; + string(DCreep_Count)
      • Wait 0.02 seconds
      • Unit Group - Pick every unit in DungeonCreeps and do (Actions)
        • Loop - Actions
          • Set DCreep_Count = (DCreep_Count + 1)
          • Set DCreep_Start_Position[DCreep_Count] = (Position of (Picked unit))
          • Unit - Set the custom value of (Picked unit) to DCreep_Count

Trigger:
  • ReviveDCreeps
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is in DungeonCreeps) Equal to True
    • Actions
      • Game - Display to (All players) the text: &quot;ReviveDCreeps Run&quot;
      • Wait (Random real number between 25.00 and 30.00) seconds
      • Unit - Create 1 (Unit-type of (Dying unit)) for Neutral Hostile at DCreep_Start_Position[(Custom value of (Dying unit))] facing (Random angle) degrees
      • Unit - Set the custom value of (Last created unit) to (Custom value of (Dying unit))
      • Unit Group - Add (Last created unit) to DungeonCreeps
      • Game - Display to (All players) the text: &quot;Unit Spawned&quot;
      • Cinematic - Ping minimap for (All players) at (Position of (Last created unit)) for 1.00 seconds
 

Baterasis

New Member
Reaction score
4
You might try adding a Custom Script and assign a variable to the respawning unit:

Actions
Custom script: local unit udg_tempUnit
Set tempUnit = (Dying unit)
Wait X game-time seconds
Set TempPoint = DCreep_Start_Position[(Custom value of tempUnit)]
Unit - Create 1 (Unit-type of tempUnit) for Neutral Hostile at TempPoint facing Default building facing degrees
Unit - Set the custom value of (Last created unit) to (Custom value of tempUnit)
Set DCreep_Start_Position[(Custom value of (Last created unit))] = (Position of (Last created unit))
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/

      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