trying to figure out a door system
7 replies



This video will help you: https://www.youtube.com/watch?v=E5UFuvmExVQ
it did not help me , I have 5 separate doors all of them can be pressed once once all 5 doors are toggled open D6 will open. I called it a dyn door how could u not assume that how to make a door was my question ?
some people uses a breakable and explodes some of its hp. so if breakable has 5 hp, when u open 1 door make it 1 damage with a explosion. i saw others like using npc and doors but idk

It's easily doable with a chain of Trigger_If if you want to avoid Lua or
trigger_if with Lua expression like this:

Code:
1
entity(tilex, tiley, "state") == true and entity(tilex, tiley, "state") == true ......
Yes. but with 1 explosion using it how much times you want is enough (i remember that someone made that with lua in file archive but i didn't find it and wont do it if is possible in map editor)
@ demon
and added it to trigger door 6 but still isn't working
update fixed it working with == true and lua was off while I was testing ty for the help
Code:
1
entity(1, 2, 'state') == false and entity(3, 2, 'state') == false and entity(5, 2, 'state') == false and entity(7, 2, 'state') == false and entity(9, 2, 'state') == false
and added it to trigger door 6 but still isn't working
update fixed it working with == true and lua was off while I was testing ty for the help
edited 2×, last 11.02.18 11:38:22 pm



