Real Time 'Send Character To..'

  • #1, by atrusSaturday, 27. January 2018, 16:48 2 years ago
    Hi guys,

    Have the following scenario:

    - Have an NPC who exits the scene. I need to follow him in order to find the proper path to a destination. (remember Monkey Island 1 puzzle where you follow the shopkeeper to find the safe combination?)

    But it seems that it's not possible to have the NPC walk this path in a real time manner. Even i create an action part with all the "send to scene" information so that he can complete his path, every time the playable character enters a scene to follow him, the NPC starts walking from the initial point of this scene's path and he is not in the proper 'real time' position.

    I hope above is clear!

    Forum Fan

    237 Posts


  • #2, by afrlmeSaturday, 27. January 2018, 17:17 2 years ago
    Maybe you could use a table with a bunch of positions stored in it so when x time has passed & if the active character is not on the same scene as the npc, update the npc position. It's not a perfect solution but at least you can progress the position of the npc.

    The scene isn't loaded which is probably why they aren't walking in that scene.

    Imperator

    6842 Posts

  • #3, by atrusSaturday, 27. January 2018, 23:24 2 years ago
    Thanks for the tip; yeah, i though that such or similar solution would be the closest thing to solution. smile

    Forum Fan

    237 Posts

  • #4, by CrossTuesday, 13. February 2018, 18:53 2 years ago
    In the waypoint-system you can create action areas in a scene with the option to "always execute" ("immer ausführen") an attached action. For realtime-movement of npcs off screen you can use that: build an action area in your first scene that teleports the npc to a second scene right into an action area that sends him to a third action area that teleports him to a third scene and so on.

    Newbie

    92 Posts

  • #5, by afrlmeTuesday, 13. February 2018, 19:21 2 years ago
    Interesting idea. I forgot action areas could be set to work even if another scene is shown. I haven't tested using it before.

    Imperator

    6842 Posts

  • #6, by atrusTuesday, 13. February 2018, 19:43 2 years ago
    Interesting idea indeed. And i guess we can confine the action area to work only for the NPC? (so that it doesn't get triggered when our character steps in)

    Forum Fan

    237 Posts

  • #7, by CrossTuesday, 13. February 2018, 20:06 2 years ago
    You can indeed. I tested something similar a while ago and it works. It's resource-heavy though, since your "running" multiple screens at once.

    Newbie

    92 Posts

  • #8, by afrlmeTuesday, 13. February 2018, 20:20 2 years ago
    Interesting idea indeed. And i guess we can confine the action area to work only for the NPC? (so that it doesn't get triggered when our character steps in)
    Yes, you can specify any character or a single specific character. Also just positioning a character inside of an action area will automatically trigger the character entered action area actions.

    Imperator

    6842 Posts

Write post