--- a/LuaLibraryAnimate.wiki Wed Jun 21 09:24:33 2023 +0000
+++ b/LuaLibraryAnimate.wiki Wed Jun 21 09:25:05 2023 +0000
@@ -30,17 +30,17 @@
Each of these functions will be explained below.
-Also, if your script calls `SetInputMask`, you **must** replace each call of it with `AnimSetInputMask` (see function description below). Failing to do so may lead to bugs.
+Also, if your script calls `SetInputMask`, you *must* replace each call of it with `AnimSetInputMask` (see function description below). Failing to do so may lead to bugs.
-Also, you **must not** call `SetCinematicMode` ever in your script.
+Also, you *must not* call `SetCinematicMode` ever in your script.
=== Steps ===
The step is the primary data structure of this library. A step is a single action in an animation specified in table form. A step table must have the following fields:
-* `func` is the function to be executed. It can be any function that returns false when it needs to be called again in following game ticks (e.g. `AnimMove`). It could theoretically be any function, but usually you want to use one of the cinematic functions here.
-* `args` is a list containing the arguments that need to be passed to the function given, in the same order
-* `swh` is an optional boolean value that defaults to `true` and denotes whether the current hedgehog should be switched to the hog given as argument 1 in `args`. You *must* set this to `false` if argument 1 is not a hog or the argument list is empty.
+ * `func` is the function to be executed. It can be any function that returns false when it needs to be called again in following game ticks (e.g. `AnimMove`). It could theoretically be any function, but usually you want to use one of the cinematic functions here.
+ * `args` is a list containing the arguments that need to be passed to the function given, in the same order
+ * `swh` is an optional boolean value that defaults to `true` and denotes whether the current hedgehog should be switched to the hog given as argument 1 in `args`. You *must* set this to `false` if argument 1 is not a hog or the argument list is empty.
Example 1:
<code language="lua">