UPDATE! 1.0.1 now contains a third variable - minimum width of camera. If all your tracked objects are really close together, you can now automatically stop the camera zooming in massively.
track_object_type is a script that allows you to define a certain object. It will then position a given view so that all instances of that object are on-screen simultaneously, through resizing and moving it.
For simplicity the function only supports one different type of object. If you have multiple players or other objects to track, it's simplest just to make the tracked object a parent of all of them.
Example included. In the example, click one of the black squares (the tracked object) to activate it, and use the D-pad to move it. The function will be running automatically through the Control object.
End User Licence Agreement (EULA).
initial commit