Dungeon Teleports

azaew

Member
Reaction score
0
How do i make it so like
Room 1 of the dungeon has 3 blue dragons how do i make it that if all 3 blue dragons die all heroes in that area instantly move to room 2 with 2 blue dragons and 1 golden dragon which when they die instantly move to room 3 so on so on :banghead:
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Are these units preplaced? (Not generated at map start)?

In that case, do a specific unit dies event, and make an integer variable with a start of 0.

Set Counter = 0;

Event - Unit Blue Dragon 001 Dies
Conditions
Actions - Set Counter = Counter + 1.

Then, when the counter is at 3, move all units instantly, and so on and so forth. This will only work if: units are preplaced and you can not move from room to room on you're own.
 

TomTTT

New Member
Reaction score
44
Are these units preplaced? (Not generated at map start)?

In that case, do a specific unit dies event, and make an integer variable with a start of 0.

Set Counter = 0;

Event - Unit Blue Dragon 001 Dies
Conditions
Actions - Set Counter = Counter + 1.

Then, when the counter is at 3, move all units instantly, and so on and so forth. This will only work if: units are preplaced and you can not move from room to room on you're own.

It maybe better to make it something more like
Trigger:
  • Events
    • Unit - A unit dies
    • Conditions
    • (Unit type of (Triggering unit)) equal to Blue Dragon
    • Actions
    • Set Counter = Counter + 1
    • If Counter is equal to 3 then do (Then Actions) else do (Else Actions)
    • Then Actions
    • Move and those...
    • Else Actions

Sorry it's so clumsy, it's hand written. I hope you got the point.
 
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