NPC's behaviour

  • #1, z ke4Monday, 26. June 2017, 11:11 hodinky 7 years ago
    Hi, i have a NPC with some interaction. If value == 1, if value == 2 etc.
    I have set execution position for this NPC. Is there a way to prevent the current character from walking there? I need to prevent it when the value equals a specific number.
    (Dialogues for for the other values, a comment for the specific one )

    Another thing. I have set both the minimum and maximum time for random animations for NPC to 2 seconds so it's easy to test it. I have a problem that the NPC's random animations doesn't run when the current character is talking. Is that a bug or a designed feature?
    I want the NPC to be blinking sometimes during a dialog so the NPC doesn't look so still.

    Thanks for any advices. 

    Zabiják klíčů

    810 Posts


  • #2, z esmeraldaMonday, 26. June 2017, 12:18 hodinky 7 years ago
    Hi, i have a NPC with some interaction. If value == 1, if value == 2 etc.
    I have set execution position for this NPC. Is there a way to prevent the current character from walking there? I need to prevent it when the value equals a specific number.
    (Dialogues for for the other values, a comment for the specific one )
    I would recommend using the immediate execution for your interaction. You could send the character to the NPC by "send character to position"-action when you want him to go there.

    Zabiják klíčů

    525 Posts

  • #3, z ke4Monday, 26. June 2017, 12:24 hodinky 7 years ago
    Haha right, i'm almost never using immediate actions so i didn't consider this. Thanks.

    Zabiják klíčů

    810 Posts