Hello Everyone,
I tried to modify a bit of lift1 script as I wanted to make the antigravity lift go back and forth instead of up-down. Here is what I modified in original. It doesnt work. Can someone help me?
;Artificial Intelligence Script
;Header
desc = Auto Lift (Back & Forth) (activate brings lift to plr)
;Triggers
:state=0,plrhigher=10,plrdistwithin=50:state=6,coloff
:state=1:movefore=20
:state=1,raycast=20 100:state=2
:state=2,plrdistfurther=55,playerassociated:state=3,unassociateplayer,colon
:state=3,plrhigher=10,plrdistwithin=50:state=7,coloff
:state=4:movefore=-20
:state=4,raycast=20 0:state=5
:state=5,plrdistfurther=55,playerassociated:state=0,unassociateplayer,colon
:state=6,plrdistwithin=50:sound=audiobank\scifi\scenery\lifts\up.wav,state=1,associateplayer
:state=6,plrdistfurther=55,playerassociated:state=0,colon
:state=7,plrdistwithin=50:sound=audiobank\scifi\scenery\lifts\down.wav,state=4,associateplay
er
:state=7,plrdistfurther=55,playerassociated:state=3,colon
:activated=1:state=11,activate=0
:state=11,plrhigher=100:state=21
:state=11:state=31
:state=21,raycast=20 100:state=3
:state=21:state=1
:state=31,raycast=20 0:state=0
:state=31:state=4
;End of Script
I just placed the antigravity lift (w/o platform) and modified the code as above.
Any help appreciated.
Thanks
Prince