Stendhal Quest Editor: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
imported>Hendrik Brummermann
 
(16 intermediate revisions by the same user not shown)
Line 54: Line 54:
Linked to the ''ATTENDING'' state there are the two interaction, which we have defined earlier.
Linked to the ''ATTENDING'' state there are the two interaction, which we have defined earlier.


If a NPC is in state ATTENDING and says one of those triggers, the interaction will be executed and the NPC will reply.
If a NPC is in state ATTENDING and the player says one of those triggers, the interaction will be executed and the NPC will reply.


If you point the mouse cursor at an interaction, you can see a box on the right with detailed information.
If you point the mouse cursor at an interaction, you can see a box on the right with detailed information.
Line 70: Line 70:
[[Image:FsmEditor Quest Graph.png]]
[[Image:FsmEditor Quest Graph.png]]


To recap: If the player says ''QUEST'', the NPC will transit from ''ATTENDING'' to ''QUEST_OFFERED''. In this state, he will only accept ''YES'' and ''NO'':
As the above graph shows: If the player says ''QUEST'', the NPC will transit from ''ATTENDING'' to ''QUEST_OFFERED''. In this state, he will only accept ''YES'' and ''NO'':


[[Image:FsmEditor Quest.png]]
[[Image:FsmEditor Quest.png]]

{{TODO: QUEST_OFFERED in source/target states}}


== Task 4: SetQuestAction ==
== Task 4: SetQuestAction ==