Notices

Activating TrackTrain by Team Cap  Thread Tools Reply
Old 07-18-2012, 05:45 PM   #1
MegapiemanPHD
L1: Registered
 
MegapiemanPHD's Avatar
 
MegapiemanPHD is offline
Posts: 26
Thanks: 0
Thanked: 7

Default Activating TrackTrain by Team Cap


Right now I'm working on a KOTH map and my hope is to have it set up so at the start of the map both trainA and trainB are stopped. If Blue caps the point TrainA starts moving and will pass from one side of the map to the other, then teleport back to the original path and pass through the map again. If Red Caps TrainA finishes its movement through the map but won't start it again and TrainB's movement starts. I have a train set up and it goes through the map fine and I can set it up so that TrainA starts and stops depending upon who owns the Cap. What I can't figure out is how to make TrainA finish it's movement so that it doesn't stop its motion while in playable areas of the map but instead finishes going across the map, but then waits till Blue owns the point again. TrainB will be exactly the same but be controlled by Red capping the point. If anyone could help with this I would be grateful.
 
Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 07-19-2012, 12:27 PM   #2
Idolon
L4: Senior Member
 
Idolon's Avatar
 
Idolon is offline
Posts: 324
Thanks: 343
Thanked: 455

Default Activating TrackTrain by Team Cap


Instead of telling the trains to stop, set up a system to make each train check if it should stop on OnPass from the first path_track.

__________________
koth_quarry | ctf_caboose | koth_flush | koth_king prop library :^)
 
Reply With Quote
Old 07-19-2012, 10:02 PM   #3
MegapiemanPHD
L1: Registered
 
MegapiemanPHD's Avatar
 
MegapiemanPHD is offline
Posts: 26
Thanks: 0
Thanked: 7

Default Activating TrackTrain by Team Cap


Quote:
Originally Posted by Idolon View Post
Instead of telling the trains to stop, set up a system to make each train check if it should stop on OnPass from the first path_track.
That is what I'm asking how to do. I apologies if my first post was confusing.
 
Reply With Quote
Old 07-20-2012, 05:51 AM   #4
henke37
L5: Alleged Expert
 
henke37's Avatar
 
henke37 is offline
Posts: 405
Thanks: 27
Thanked: 76

Default Activating TrackTrain by Team Cap


Add a new logic_relay, call it loopLogic.
Add a connection from the path_track for the OnPass output to the Trigger input of the relay.
Add a connection from the relay to the tracktrain to teleport the train.
Then add logic to enable/disable the relay as needed.
 
Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply

Previous Thread Next Thread
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 11:28 PM.