Hello everyone,
I'm trying to set up a remote moveable wall. In order to achieve this, i use a script from the forum (by Tzap) :
;Artificial Intelligence Script
;Header
desc = Secret moveable wall
;Triggers
:state=0,plrusingaction=1:state=1,coloff
:state=1:moveup=1,localvar=1,incvar=1
:state=1,varequal=80:state=2
:state=2,plrusingaction=1:state=3
:state=3:moveup=-1,localvar=1,decvar=1
:state=3,varequal=0:state=0,colon
;End of Script
and the scifi stock switch 6. I replaced the "plrusingaction" condition by the "actived " one.
When i use the switch, the wall just go up and down until i use the switch again. Is there a way to have this scenario :
I use the switch : The wall go up and stay
I use the switch again : The wall go down and stay.
Thanks in advance and sorry for my bad english !