Npc Start Position

  • #1, by ygmantellSunday, 13. September 2015, 05:06 9 years ago
    I am making an NPC, and don't know how to set a start position for him. If i make a scene object with an object area, I am not able to have the main character walk to where I the player interacts with him even if I set it. Another problem, is that the NPC doesn't face the direction I want.
    Thanks

    Great Poster

    274 Posts


  • #2, by CrossSunday, 13. September 2015, 08:28 9 years ago
    Create an action at the beginning of the scene: set character to position. There you can also set the direction of the character.

    Newbie

    92 Posts

  • #3, by sebastianSunday, 13. September 2015, 12:06 9 years ago
    doesnt work "character stands at" in the npc character ptoperties?
    There you have to chooseand object inside the scene you created with "alignment of character to object" set

    Thread Captain

    2346 Posts

  • #4, by afrlmeSunday, 13. September 2015, 12:42 9 years ago
    doesnt work "character stands at" in the npc character ptoperties?
    There you have to chooseand object inside the scene you created with "alignment of character to object" set


    Yes you can set a character to a scene object, however the object position (interaction) position may not be set the correct direction, so you may want to change the alignment of the character which you could do inside of the at begin of scene action or you could do both in the same at begin of scene action. Doesn't really matter.

    Imperator

    7278 Posts

  • #5, by sebastianSunday, 13. September 2015, 18:30 9 years ago
    Ah, now i understand. So the problem is not the position of the npc but the destination position of the main char when interacting to it, right?

    Thread Captain

    2346 Posts

  • #6, by afrlmeSunday, 13. September 2015, 18:41 9 years ago
    Aye. The object position & direction set is the position & direction the character will walk to & face before executing any actions listed underneath an execute at destination action type.

    If the object does not need to be interactable & is just used as a placeholder to place an image or a character, then it could be used for positioning a character. As long as an object doesn't contain an object polygon then it will be ignored by the mouse cursor, yet you can still apply an object interaction point, which could be used to tell a character where to be & which direction to face. wink

    Imperator

    7278 Posts