I made lever something like this (cant copy GUI coz no WE on this comp...)
When lever dies, gates will open.
But i want lever wich can open and close door.
How about something like this. You have a real variable that's default is 0 (It is named Lever_Set in the triggers below). Make the lever have 999999 life (Not invulnerable, you want it to be attackable) and 99999 life regen. Then set a trigger such that:
Trigger:
Lever gets attacked
Events
Unit - A unit is attacked
Conditions
Unit - Unit-type of (Triggering unit) Equal to Lever
Actions
If (multiple conditions) then (then actions) else (else actions)
If - conditions
Lever_Set = 0
then - actions
Set Lever_Set = 1
else - actions
If (multiple conditions) then (then actions) else (else actions)
If - conditions
Lever_Set = 1
then - actions
Set Lever_Set = 0
else - actions
...and then make two more triggers with the events:
Game - Lever_Set becomes equal to 1
...for this trigger (above)^ make it open the gate in the actions.
Game - Lever_Set becomes equal to 0
...for this trigger (above)^ make it close the gate in the actions.
Why? In your WC3 tags here you used Integer. The only difference between the two is that reals can be 0.01, 0.02 ect and Integers can not. If he really wanted to, he could use a boolean for the same affect.
Crofna, for each door you will probably need a new variable. Also make sure that the condition checks for the right lever and the actions open the right door.
@Joccaren: We all make mistakes lol. I didn't see that either.
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.
@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.
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
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
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
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.
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