Hi guys, I came up with a pretty simple dialogue tree. It's quite easy to set up, but you can have at most 3 choices. Good thing is it's reusable (you can talk to the NPC again and again) and isn't depending on NPC position. Also, you need just the vanilla FT. It's easy to put in some stat/skill checks if you're playing with a single character. So, you can basically make dialogues on the F4 level (or above it, if you're not mentally challenged).
Here it is in work: https://youtu.be/o3LLDbMHAIg
And here are the triggers behind it:
[Trigger 0] - map initialization
C: Always
A: Set variable x to 0.
[Trigger 1]
C: Speech event occurred (the speech that is set from the start)
A: Set variable x to 1
[Trigger 2]
C: Variable x is 1
C: Human has more than 0 Crouching
A: Set click speech for entity A to response1
[Trigger 3]
C: Variable x is 1
C: Human has more than 0 Prone
A: Set click speech for entity A to response2
[Trigger 4]
C: Speech event occurred (responses 1 or 2, they have the same tag)
A: Set variable x to 0
A: Set click speech for entity A to whatever-is-default
Here it is in work: https://youtu.be/o3LLDbMHAIg
And here are the triggers behind it:
[Trigger 0] - map initialization
C: Always
A: Set variable x to 0.
[Trigger 1]
C: Speech event occurred (the speech that is set from the start)
A: Set variable x to 1
[Trigger 2]
C: Variable x is 1
C: Human has more than 0 Crouching
A: Set click speech for entity A to response1
[Trigger 3]
C: Variable x is 1
C: Human has more than 0 Prone
A: Set click speech for entity A to response2
[Trigger 4]
C: Speech event occurred (responses 1 or 2, they have the same tag)
A: Set variable x to 0
A: Set click speech for entity A to whatever-is-default