Stendhal Quest Coding - Part 2: Difference between revisions
Content deleted Content added
imported>Hendrik Brummermann No edit summary |
imported>Kribbel m replace old link |
||
| (38 intermediate revisions by 6 users not shown) | |||
Line 76:
As you can see, we now have to use "add()" instead of "addReply()" and that method has a lot more parameters.
We have predefined a number of states in the class [
===Graphical representation===
There is one last thing that makes your life easier: If you are using Linux, have the graphviz package installed and you are an admin in game, you can select
== Conditions And Actions ==
Line 91 ⟶ 92:
new LevelLessThanCondition(6),
ConversationStates.IDLE,
"Oh sorry,
null);
</source>
| |||