More than one Control Camera not working right.

Hey all, I am trying to get an actor to control the camera to pan around the screen to show the entire level in my game and then when it has finished give control to another actor that you actually play the game with. I have it set up so that when the level starts the camera control follows the first actor by moving to the edge of the screen and then move to it's original position and destroying itself. So far that part works but camera control does not go back to the other actor after that. I checked out the forum on the subject and tried some solutions to a pinball game but I must still be doing something wrong. Any ideas? Thanks!
SM
SM
Comments
I'd have an attribute that defines the state. Let's call it 'FollowMe' and make it a boolean.
Just before you destroy the first actor, put in a 'change attribute' behaviour and make FollowMe = true.
Put the destroy behaviour in *After* that.
Then in your (I assume 'player') actor, have a rule that says 'If attribute 'FollowMe' is true:
Put in your camera control
That *should* do it... hope it helps!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
SM
I kinda get why you'd want a few just to keep things organised and easy to find e.g. one control actor for the player, one for a diff. enemy type etc etc - but I've found just one with 'groups' of commands pertaining to what you want them to usually does the trick.
Cheers, and glad the thingy worked for you
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io