Menu
Login
Language
DE EN FR ES IT CZ
Back

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

  • #1, de stothew Sunday, 18. March 2018, 16:46 ver 8 years ago Quote
    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

    Fan del Foro

    127 Posts

  • #2, de sebastian Sunday, 18. March 2018, 21:59 ver 8 years ago Quote
    This could be solved by changing the position via lua:

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

    Capitán de los Debates

    2346 Posts

  • #3, de stothew Sunday, 18. March 2018, 22:49 ver 8 years ago Quote
    Works perfect.
    thanks!

    Fan del Foro

    127 Posts