camera control

eboyeboy Member Posts: 239
edited November -1 in Working with GS (Mac)
Hello, I was wondering if you can have an actor control an camera and then switch it off so the actor would leave a scene and the camera would just stop.

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    You could try making a game boolean attribute. In the player have a rule that says when game.whatever is true control camera. In the player have a rule that says when leaves scene (have it check for a collision with some invisible off screen actor) change game.whatever to false.

    Then have another actor located in the scene where the player leaves and you want the camera to stay. In this second actor have a rule that says when game.whatever is false control camera.

    Never tried it, but it seems like it should work.
  • eboyeboy Member Posts: 239
    wow, that sounds great....where would I find a good book that discusses game rules like your example...thanks for any info.
Sign In or Register to comment.