- May 5, 2013
- 6
- 1
Hello, fine ladies and gentlemen, I require your assistance.
Here's the situation: I have a map with 6 control points. Each team owns three of them at the start, and the two non-final ones are unlocked from the start. The final point unlocks when the two other ones are captured by the enemy team, and locks again when one of the center points is taken back. This part of the plan works fine.
Now if one team happens to capture the two center points of the other team, I want to lock the other two center points, to move the game from the middle of the map to the defending team's half.
In letters: If A and B are owned by RED, lock points C and D. If C and D are owned by BLU, lock points A and B. In reverse, unlock the locked points again if the owner changes back.
I've set up two logic_compare entities to take care of this, and told them to send a SetLocked input to the points - but nothing happens, they stay unlocked. I confirmed that the logic entities work by replacing SetLocked with adding points to the team score, and that works great - it's just the points that refuse to be locked.
Here's a shot of my logic outputs and the control point settings in case they help: http://i.imgur.com/ux2fjmC.png
Is there something obvious I'm missing, or some other way to do what I want to?
Thanks in Advance!
Here's the situation: I have a map with 6 control points. Each team owns three of them at the start, and the two non-final ones are unlocked from the start. The final point unlocks when the two other ones are captured by the enemy team, and locks again when one of the center points is taken back. This part of the plan works fine.
Now if one team happens to capture the two center points of the other team, I want to lock the other two center points, to move the game from the middle of the map to the defending team's half.
In letters: If A and B are owned by RED, lock points C and D. If C and D are owned by BLU, lock points A and B. In reverse, unlock the locked points again if the owner changes back.
I've set up two logic_compare entities to take care of this, and told them to send a SetLocked input to the points - but nothing happens, they stay unlocked. I confirmed that the logic entities work by replacing SetLocked with adding points to the team score, and that works great - it's just the points that refuse to be locked.
Here's a shot of my logic outputs and the control point settings in case they help: http://i.imgur.com/ux2fjmC.png
Is there something obvious I'm missing, or some other way to do what I want to?
Thanks in Advance!