Thanks BlackFox, but it didn't worked..oh btw, I'm trying to find out a way to check if the player is moving/walking, basically I'm checking if his distance from an entity is changing using the $DIS varible:
;Artificial Intelligence Script
;Header
desc = plr_camera
;Triggers
//Setup variables//
:state=0:dimvar=camfx,setvar=camfx 1,dimvar=plrdist,etimerstart,state=1
:state=1,etimergreater=1000:setvar=plrdist $DIS,etimerstart,state=1
//Check for player movements//
:varequal=camfx 1,varnotequal=plrdist $DIS,plrnotcrouching,plrrunning:camfov=15
:varequal=camfx 1,varequal=plrdist $DIS:camfov=0
:varequal=camfx 1,plrjumping:plrwobble=50
:varequal=camfx 1,plrnotjumping:plrwobble=0
;End of Script
The problem is that basically the plrrunning condition is true just if you press the shift button, even if you're not walking..so this script checks every 1 sec if the last saved player distance is not the same as the current: if so, when the player runs it enables the camfov stuff. I know I could have done that via "keypressed=x y", but I'd like it to work with the joystick..so I need to find a workaround! BUT IT DOESN'T WORK
do you know another way?