I have looked for some time on the forums ad in the manual and have not found anything that has help me.
I have tried reducing the distance in which a player can activate a switch. I have tried modifying stock script. No matter what I do the distance seems to stay the same. I have gotten rid of the hud display on purpose. That part was easy. Now I want to get the player distance closer to the switch in order to use it. Any ideas?
I have tried simply adjusting the "plrdistwithin=" value and that did not work.
;Artificial Intelligence Script
;Header
desc = Use Switch (animated lever)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:plrdistwithin=1:hudshow=useswitchprompt,hudfadeout=useswitchprompt
:state=10,plrdistwithin=15,plrusingaction=1:state=1,setframe=0,plrsound=$0,activateifused=1
:state=1:incframe=0
:state=1,frameatend=0:state=2
:state=2,plrusingaction=0:state=3
:state=3,plrdistwithin=15,plrusingaction=1:state=4,plrsound=$1,activateifused=0
:state=4:decframe=0
:state=4,frameatstart=0:state=5,setframe=0
:state=5,plrusingaction=0:state=10
;End of Script
Patience and tolerance are the keys to the passage of knowledge. Even the ones that know the most started with many questions.