BVEStation
Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
Welcome to BVEStation.
Chat [1]
Downloads
Community
Wiki
BVEStation Forums
»
BVE
»
Content Development
»
Creating Signals in OpenBVE
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Creating Signals in OpenBVE (Read 3159 times)
Ztraintobroad
Guest
Creating Signals in OpenBVE
«
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:
Logged
Ztraintobroad
Guest
Re: Creating Signals in OpenBVE
«
Reply #1 on:
April 29, 2015, 11:39:40 am »
[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?
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
BVEStation Forums
»
BVE
»
Content Development
»
Creating Signals in OpenBVE