Now THAT took me some time to understand
I don't know if you'll understand my naswer but I'll write it anyways .
you want to activate 2 switches in order to open a door , right ? Simply use variable system . you want a door open when two switches are activated , so you make it so that each activation adds 1 to the var value , and once the value reaches 2 , door opens . I will write examples but you have to do the rest alone
Door script
:state=0:dimvar=door,setvar=door 0,state=1
:state=1,varequal=door 2:state=2
Switches scripts
:state=0,plrdistwithin=60,plrusingaction=1:addvar=door,state=1
Notes :
- dimvar=X creates a var with the name X
- plrusingaction=1 checks if the player is pressing the use button (Enter by default)
- plrdistwithin=X turns true if the player is within X units from the entity (The less , the closer)
- Download the Script Syntax List made by Ched80
HERE
- Learn English so you and the community understand each other
Peace
"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest