Walk into room on entrance of scene? And other actions.

  • #1, by paraboleeFriday, 09. January 2015, 22:25 5 years ago
    Hi everyone. Still getting to grips with the awesome software and I have a question that I expect may be easy to answer.

    I would like to have it so that on initiation of the games first scene, my character performs some basic actions. Specifically walks into the scene and says a few lines. Any advice/pointers how to accomplish that?

    I would also like to be able to make him walk a little into a room on entrance, for instance some doors are slightly hidden and I would like the character walk into the hidden area when entering the door, but when coming back to that location walk out of the hidden area so the player can see him.

    Any help would be greatly appreciated!

    THANKS!

    Newbie

    40 Posts


  • #2, by afrlmeFriday, 09. January 2015, 23:16 5 years ago
    You can create an at begin of scene action inside of the scenes action tab for automatically triggering actions at the beginning of the scene. You can also create called by other actions & call them inside of an at begin of scene action.

    As for the doorways/entrances/exits, you need to...

    a. create a foreground version of the wall or part of the scene/doorway that the character should walk behind & add it to the scene as an object. Don't forget to set the correct object center for it.

    b. you should draw your way-border for the scene so that it extends behind the doorway or even outside of the scene background itself. You can move the scene viewport around by moving mouse cursor over the top of the scene viewport & then middle click, hold & dragging.

    You set the character position for the exit/entrance object so that the character is positioned behind the foreground of the doorway.

    Hope this helps, clear some things up. smile

    Imperator

    6804 Posts

  • #3, by paraboleeSaturday, 10. January 2015, 06:51 5 years ago
    Great thanks, that was exactly what I needed. I just created a "Is start of game" condition to trigger the initial set of actions and then disable them for future entrances to the scene.

    On the door thing you misunderstand what I am trying to do. I get how to have my character go behind objects, but how do I make it so when he enters a scene he walks a few steps in instead of just appearing at the object point (making him out of view in some cases)?

    I can't just set a goto point at the beginning of a scene as he will walk to that point when entering from any door. I need to have him walk to one point on entering from one entrance and to a different point when coming from the other.

    So he can walk into the scene rather than starting out of view.

    THANK YOU!!

    Newbie

    40 Posts

  • #4, by afrlmeSaturday, 10. January 2015, 11:01 5 years ago
    well in the same way you set/used a condition in the at begin of scene action. Add some additional queries to the at begin of scene action. You could set a condition or value when you click on an exit before changing to a new scene.

    Imperator

    6804 Posts

  • #5, by paraboleeSaturday, 10. January 2015, 16:49 5 years ago
    Ah, of course. Hoped there was a more direct way but that works great too.

    Thank you again!

    Newbie

    40 Posts

  • #6, by afrlmeSaturday, 10. January 2015, 17:06 5 years ago
    No problem. smile

    More direct way... such as? You can also trigger actions at the end of a scene too, so technically it's possible to call a called by other action at the end of a scene or you could even use Lua script. There are always multiple ways & methods to achieve the same thing in Visionaire Studio.

    Imperator

    6804 Posts

  • #7, by paraboleeMonday, 12. January 2015, 16:10 5 years ago
    Well I guess in my mind as someone not that familiar with the software yet, I was thinking of maybe an option to attach to a change scene command that essentially said "If scene changed from x then y", where y would be the action I want.

    However now that I understand this better I see that that is essentially exactly what I am doing, just with more freedom.

    Again thank you so much for your help, I have this working in multiple places perfectly now and it really helped me further cement how Visionaire works!

    Newbie

    40 Posts

Write post