License from €75 Log in
DE EN FR ES IT CZ

Character Interaction

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 4 years ago
    Hello everyone

    Im advancing my game, but i came with a problem.

    I have several characters that move randomly to a place, there are 9 places available in that random movement, when i use an object in one of those characters (Execute at destination), it executes but it seems to execute far away, like not as close as usually, does it has to be with the random placing?

    Thanks and sorry for my english
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 4 years ago
    You can set the interaction position for a character in the character properties (position for executing an action). This is the postion the main character will walk to to interact with the npc.
    This works fine for static characters. 

    When no interaction position is set, the engine will automatically select a position, but this is usually a bit far from the npc.

    I would suggest to set a new interaction position for your npcs when they reach the new location via Lua scipt.

    Characters["name_character"].ActionDestPosition = {x = position_x, y = position_y}

    • Image in post
  4. · 4 years ago
    Thanks for the help

    Im really not that good in lua scripts, but i think i managed to avoid lua scripts with a chase character, i set a chase character, and after the interaction, stop chase, i think it worked =) it moves to the place where the character is.
  5. · 4 years ago
    If you want to join the Visionaire discord  https://discord.gg/DYm9QU2x , I have actually written a plugin for a custom action part (linked in the faq channel) to change the interaction point of a character.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?