- Joined
- Feb 8, 2013
- Messages
- 1,479
I have a multiplayer 3rd person altered melee map. The camera system is really smooth and I like it. It automatically disables the 3rd person view when peons or structures are selected and pans nicely between default view and the 3rd person view. However, if I select a group of units, the camera often follows one of the lesser units instead of the hero. What's worse is when I drag-select a group and there is a peon in the group, the camera stays in default, top-down view and does not pan to the warrior units. This creates a problem because it means that a player who takes a few peons into battle will be able to control his army more effectively than the other players stuck in 3rd person view. A friend recommended, I simply create a system that allows you to enable/disable the camera system at will, but I think players would just leave it disabled and miss the point of my map.
The point of my map, is that it looks really cool to fly over the trees and camps or run through the forest down at the units level. I have done a lot to make the playability decent. I don't want to loose the effect just so a player can have a tactical advantage.
I'm at work now but I can post the triggers if anyone thinks that will help. The real question is this. When a unit variable is set to [(My_Unit) = triggering unit] by the event trigger [Player(1) - selects a unit] and the order is given [Camera - pan camera to (My_Unit) (facing ((My_Unit) facing degrees) over 1.0 secs] AND you select multiple units in game, what decides which unit will be chosen as "My_Unit"? How can this be changed to ensure the highest ranking unit is the focus of the camera?
The point of my map, is that it looks really cool to fly over the trees and camps or run through the forest down at the units level. I have done a lot to make the playability decent. I don't want to loose the effect just so a player can have a tactical advantage.
I'm at work now but I can post the triggers if anyone thinks that will help. The real question is this. When a unit variable is set to [(My_Unit) = triggering unit] by the event trigger [Player(1) - selects a unit] and the order is given [Camera - pan camera to (My_Unit) (facing ((My_Unit) facing degrees) over 1.0 secs] AND you select multiple units in game, what decides which unit will be chosen as "My_Unit"? How can this be changed to ensure the highest ranking unit is the focus of the camera?