Hi,
I wrote some simply script for sundial riddle (U must turn in proper direction, proper times to unlock magic door)
Like this
;Artificial Intelligence Script
;by MrGame
;
;Header
desc = sundial puzzle (secret passage)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\spin.png,hudname=usedoorprompt,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=60:hudshow=usedoorprompt,hudfadeout=usedoorprompt,state=2
:state=2:state=50
:state=50:state=2
:state=2,plrdistwithin=50,scancodekeypressed=25:state=3,sound=audiobank\spin.ogg,rotatey=15
:state=2,plrdistwithin=50,scancodekeypressed=24:state=19,sound=audiobank\spin.ogg,rotatey=-15
:state=3:state=4
:state=4,scancodekeypressed=25:state=3
:state=4:state=5
:state=5,plrdistwithin=50,scancodekeypressed=25:state=6,sound=audiobank\spin.ogg,rotatey=15
:state=5,plrdistwithin=50,scancodekeypressed=24:state=19,sound=audiobank\spin.ogg,rotatey=-15
:state=6:state=7
:state=7,scancodekeypressed=25:state=6
:state=7:state=8
:state=8,plrdistwithin=50,scancodekeypressed=25:state=9,sound=audiobank\spin.ogg,rotatey=15
:state=8,plrdistwithin=50,scancodekeypressed=24:state=19,sound=audiobank\spin.ogg,rotatey=-15
:state=9:state=10
:state=10,scancodekeypressed=25:state=9
:state=10:state=11
:state=11,plrdistwithin=50,scancodekeypressed=25:state=19,sound=audiobank\spin.ogg,rotatey=15
:state=11,plrdistwithin=50,scancodekeypressed=24:state=12,sound=audiobank\spin.ogg,rotatey=-15
:state=12:state=13
:state=13,scancodekeypressed=24:state=12
:state=13:state=14
:state=14,plrdistwithin=50,scancodekeypressed=25:state=19,sound=audiobank\spin.ogg,rotatey=15
:state=14,plrdistwithin=50,scancodekeypressed=24:state=15,sound=audiobank\spin.ogg,rotatey=-15
:state=15:state=16
:state=16,scancodekeypressed=24:state=15
:state=16:state=17
:state=17,plrdistwithin=50,scancodekeypressed=25:state=19,sound=audiobank\spin.ogg,rotatey=15
:state=17,plrdistwithin=50,scancodekeypressed=24:state=18,sound=audiobank\spin.ogg,rotatey=-15
:state=18:activateifused=1,state=20
:state=19:state=2
;End of Script
How make it for 3 sundials with different combination
(maybe first 2 left 4 right
second 3 left 2 right
and mine 3 right 3 left)?
Is it possible via variables?
Insomnia is coming...