How to stop to control the character?

  • #1, z littleledsFriday, 07. June 2013, 04:51 hodinky 12 years ago
    Hi folks, In my game I have the following scene: the main character enters a movie theater and sit down on a chair. The puzzle is on the movie screen, after the player solve the puzzle, the main character get up and leave the theater. All the character's animations must be automatic. My idea is that the player couldn't control the main character on this scene with the main mouse interface.He must controls only the movie screen. How can I do to desativate (and after then reativate) the main interface to control the character?

    Thanks in advance.

    Bažant

    22 Posts


  • #2, z CrossFriday, 07. June 2013, 07:22 hodinky 12 years ago
    You could create an invisible character (with no animations in the Outfit section) and make him the active character for that Scene. Give all inventory items from the main character to him at the beginning and vis versa at the end. The main character animations/Actions would have to be created by Hand, for example: left-click-on-movie-Screen-Action > Show Animation xy of main character.
    Sorry about my horrible english.

    Bažant

    92 Posts

  • #3, z littleledsFriday, 07. June 2013, 16:47 hodinky 12 years ago
    I've tried that but the character have some dialogs, when the character is invisble the dialogs does not appear. I was thinking in some king of action area that mouse does not work. Someone have any idea?

    Bažant

    22 Posts

  • #4, z afrlmeFriday, 07. June 2013, 17:09 hodinky 12 years ago
    you could probably stop the character from moving by creating a very tiny way border & switching to that when needed - you would have to make sure you set the character to the correct position before hand.

    also I suppose you could use Lua to force the characters position to be in the same place for a while by cancelling destination or interaction.

    then again you could use what cross has said & manually position the characters text with the texthook function but you would have to manually stop & play speaking animations.

    Imperátor

    7285 Posts

  • #5, z littleledsFriday, 07. June 2013, 18:08 hodinky 12 years ago
    Thank you guys, the tiny way border worked very well.


    Bažant

    22 Posts