Lockable doors?

B

brandon.y_16

Guest
Hey.
Is there a way to make lockable doors? I have a map. and i want to make it that you have to kill all the bosses to unlock a door. how do i do that?
plz help.
thx.
 

The-Shadows

New Member
Reaction score
12
Code:
Door Open
    Events
        Unit - A unit Dies
    Conditions
        And - All (Conditions) are true
            Conditions
                (Unit-type of (Triggering unit)) Equal to Boss1
                (Unit-type of (Triggering unit)) Equal to Boss2
                (Unit-type of (Triggering unit)) Equal to Boss3
                (Unit-type of (Triggering unit)) Equal to Boss4
                (Unit-type of (Triggering unit)) Equal to Boss5
                (Unit-type of (Triggering unit)) Equal to Boss6
    Actions
        Game - Display to (All players) the text: The door has opened!
        Destructible - Open (your door)
 
B

brandon.y_16

Guest
im not sure you understand what i mean.. The doors are destructable. but i want all the bosses to be dead before you can open the final door. to get to the last boss.
(this is to stop ppl from rushing threw)

kill boss+kill boss+kill boss+kill boss+kill boss=Door unlocked=Last boss <-thats what i mean
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
@Shadows: :D Your trigger seems to ONLY work if all bosses die at the same time. So... How would that work?
 

the_ideal

user title
Reaction score
61
@Shadows: :D Your trigger seems to ONLY work if all bosses die at the same time. So... How would that work?

Well, actually, since triggers run simultaneously but separately, this trigger is impossible to satisfy, unless boss1, boss2 etc. are all variables assigned to the same unit. :)
 

Meatwad

New Member
Reaction score
1
Conditions,
-Your Hero is dead equal to true
-Your hero2 is dead equal to true
-etc.
Action
-Open Gate
 

the_ideal

user title
Reaction score
61
More like

Code:
Door Open Trigger
    Events
        Unit - A unit Dies
    Conditions
        ((boss1) is dead) Equal to True
        ((boss2) is dead) Equal to True
        ((boss3) is dead) Equal to True
        ((boss4) is dead) Equal to True
    Actions
        Destructible - Open (your gate)
 

SarChasm

New Member
Reaction score
15
@Shadows: :D Your trigger seems to ONLY work if all bosses die at the same time. So... How would that work?

Think the best way to do it then would be to have 6 boolean variables: boss1, boss2, boss3, boss4, boss5, and boss6.

Then make triggers that set the variables to true when their respective bosses die.

Finally, make a last trigger that will open the door when all six variables are equal to true.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
@SarChasm: You seem to have misinterpreted my words. o_O

I was saying, how would his work. The way to do this triger is actually pretty simple.
 

Mike889

New Member
Reaction score
15
Door2
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Key Skill (item)
Actions
Destructible - Open Dungeon Gate (Vertical) 0124 <gen>


Drop a key fragment from the boss, and everytime you pick another fragment, you keys combines, just like recipes.
;D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top