Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design

Reply
 
Thread Tools Display Modes
Old 05-05-2012, 10:05 PM   #1
forums101
 
 
 
Join Date: Feb 2012
Reputation: 0
Posts: 153
How do you make a patrolling Metro Cop?

Hi, I was wondering how you would have a metro cop patrol, as in go from one destination to another destination (back and forth), and wait at the destination for a couple seconds before going to the next/ prior destination. Also would it be possible to have a cop follow a path to a button then turn it off or on, then go back to the patrol?
ex: Guard is patrolling the area (going back and forth between 2 destinations in close proximity to each other), then the player hits a light switch (turning off the lights). The cop, regardless of his position, stops his patrol and goes to the button (goes to turn the lights back on). He then walks up to where the light switch is and the lights are triggered back on. He then goes back to assume his patrol.

Kinda ambitious I know, but anyone have an idea how to do this? Any help would be appreciated, thanks.
forums101 is offline  
Reply With Quote
Old 05-06-2012, 08:39 AM   #2
P-GLaDDy
 
 
 
Join Date: Oct 2011
Reputation: 0
Posts: 103
Read these three articles:
https://developer.valvesoftware.com/...ipted_schedule
https://developer.valvesoftware.com/wiki/Nodegraph
https://developer.valvesoftware.com/wiki/Path_corner
These three articles explain the entities needed to accomplish your patrolling Metrocop.
P-GLaDDy is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design


Thread Tools
Display Modes

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 -7. The time now is 11:34 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.