[solved] NPC Characters have different locations / NPC Personen mit meheren Plätzen

  • #1, by stothewSunday, 18. March 2018, 16:46 6 years ago
    Hallo,

    ich habe momentan das Problem das Ich einige Personen habe die ihre Position ändern und auch in verschiedenen Screens sind.
    In den Charaktereinstellungen gibt es aber nur 1x "Zielposition bei Aktionsausführung"

    Wie kann ich damit umgehen wenn sich mein NPC bewegt bzw. in einer anderen Szene an einem anderen Punkt steht?

    ----------

    Hi,

    I want to move my NPCs to diffent screens, but when i want to talk to the NPC on the new location my Charakter want to walk to the "old location". Since there is only one point to set for this in charakter settings i wonder how to manage this if my NPC is switching between scenes/screens and have other locations.

    Thanks for Help

    Forum Fan

    127 Posts


  • #2, by sebastianSunday, 18. March 2018, 21:59 6 years ago
    This could be solved by changing the position via lua:

    Character["name"].ActionDestPosition = {x=100,y=100}

    Thread Captain

    2346 Posts

  • #3, by stothewSunday, 18. March 2018, 22:49 6 years ago
    Works perfect.
    thanks!

    Forum Fan

    127 Posts