Stendhal Quest Coding: Difference between revisions
Content deleted Content added
imported>Devant m fixed grammar/typo |
imported>Devant m added named constants for ConversationStates |
||
Line 143:
The first set of rules about states is that:
* State 0 is always the initial state (''ConversationStates.IDLE'').
* State 1 is the state where only one player can talk to NPC (''ConversationStates.ATTENDING''). Any other player that
* State -1 is used for jump from any state when the trigger is present (''ConversationStates.ANY''). For example very helpful for bye keyword.
* States from 2 to 50 are reserved for Behaviours uses.
* States above 50 are free at your disposal.
| |||