Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Npc Start Position

  • #1, by ygmantell 11 years ago Zitieren
    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
  • #2, by Cross 11 years ago Zitieren
    Create an action at the beginning of the scene: set character to position. There you can also set the direction of the character.
  • #3, by sebastian 11 years ago Zitieren
    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
  • #4, by afrlme 11 years ago Zitieren
    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.
  • #5, by sebastian 11 years ago Zitieren
    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?
  • #6, by afrlme 11 years ago Zitieren
    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