Help me! I want to make a bridge move when a CP is capped

Ida

deer
aa
Jan 6, 2008
2,289
1,372
I've started thinking about ned ideas for maps, and I'm starting on a new one right now. It will be a payload map, and for the first cap on the first stage, I want this to happen:

Above the first Control Point, there is a bridge that the defending team can use as much as they want to defend. When the Control Point is capped, however, I want to make the bridge to slowly (and smoothly) "slide" away. What I mean by that may be a little hard to understand, so here's an example:

Code:
Before it's capped:

|         |
|---------| <-bridge
|         |
|         |
|_________|

After it's capped:

|         |
|--- < <  | slowly moving to the left
|         |
|         |
|_________|

See what I mean? It's probably not hard to do, but, well, I'm too much of a newbie to know how still. >.>
I'd be very thankful if someone could help me.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
make the bridge a func_door, set the move direction to into the wall, set the move speed really low, then when the cap point is capped make it 'open'