train lever help

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
7th Es Cyborg
First Lieutenant
Posts: 189
Joined: Fri Dec 13, 2002 5:00 pm
Location: PA
Contact:

train lever help

Post by 7th Es Cyborg »

I'm converting a single player map to multi and everything is working fine except this:

I have a train lever that is activated by a trigger script

$switchnopulse anim move

that works fine for making it 'turn on' but when I use the trigger to 'turn it off' the trigger script functions, but the train switch doesn't go back to the original position. I have the same line above in the 'off' script, so I'm guessing that is the mistake. What command sould be used to move it back to it's original state?
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

select the trainlevel, hit N, and click the anim +/- to see the lever's animations.
7th Es Cyborg
First Lieutenant
Posts: 189
Joined: Fri Dec 13, 2002 5:00 pm
Location: PA
Contact:

Post by 7th Es Cyborg »

danka - didn't think that idle would return it to the original spot but it did :lol:
Post Reply