BVEStation Forums
		BVE => Content Development => Topic started by: Ztraintobroad on April 29, 2015, 11:02:35 am
		
			
			- 
				Alright, so I want to use a .animated signal file without the refresh command, but I want the animated signal to change once the train passes through it. I dont know how to exactly do this, and I tried using this code, but I dont think it works:
 
 
- 
				[Object]
 Position = 0, 0, 0
 States = SignalBlank, SignalGreen.b3d, ..., SignalRed.b3d
 StateFunction = if[trackDistance>1 | section==1,]]
 RefreshRate = if[trackDistance>40 | section==0, 1,]] 1
 
 Can anyone help me?