I have been having the most difficult time scripting a lift trigger that would manually trigger the elevator down or up or alternatively walk onto the elevator and use it normally
I have revised the code a dozen times and now it does something weird when I attempt to trigger by putting the game into wireframe mode which is pretty cool and Id like to keep that but not with the elevator, it never budges and when it does normally it won't go back up
:state=0:state=3
;Trigger by activation setup below, do not be on lift during activation or deactivation
;activation will cause to move down ignoring all player support
;deactivation will cause to move back up ignoring all player support
:state=3,activated=1:coloff,sound=audiobank\scifi\scenery\lifts\down.wav,moveup=-1,colon,state=10
:state=10,activated=0:coloff,sound=audiobank\scifi\scenery\lifts\up.wav,moveup=1,colon,state=3
:state=3,plrhigher=10,plrdistwithin=50:state=7,coloff
:state=4:moveup=-1
:state=4,raycastup=20 0:state=5
:state=5,plrdistfurther=55,playerassociated:state=10,unassociateplayer,colon
:state=10,plrhigher=10,plrdistwithin=50:state=6,coloff
:state=11:moveup=1
:state=11,raycastup=20 100:state=12
:state=12,plrdistfurther=55,playerassociated:state=3,unassociateplayer,colon
:state=6,plrdistwithin=50:sound=audiobank\scifi\scenery\lifts\up.wav,state=11,associateplayer
:state=6,plrdistfurther=55,playerassociated:state=10,unassociateplayer,colon
:state=7,plrdistwithin=50:sound=audiobank\scifi\scenery\lifts\down.wav,state=4,associateplayer
:state=7,plrdistfurther=55,playerassociated:state=3,unassociateplayer,colon
---------------------------------------
Advanced Licensed Computer Programmer and Custom Programming Language Interfacing. Graphics / Video Designer.