Stendhal Quest Coding: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Devant
adjusted headings
imported>Devant
Line 145: Line 145:
{{AddMissing|towhat = guide |toadd = the newer methods}}
{{AddMissing|towhat = guide |toadd = the newer methods}}


The other way of creating a NPC dialog is by adding states to the FSM.
The other way of creating a NPC dialogue is by adding states to the [http://en.wikipedia.org/wiki/Finite_state_machine Finite state machine] (FSM). Have a look at the link to make sure you understand the idea.

The best way of describing a dialog is using a [http://en.wikipedia.org/wiki/Finite_state_machine Finite state machine]. Have a look to the link to make sure you understand the idea.


The first set of rules about states is that:
The first set of rules about states is that: