LuaLibraryAnimate.wiki
changeset 2241 20ed85eb3d29
parent 2240 c387af3810c6
child 2242 031a5b86e533
--- a/LuaLibraryAnimate.wiki	Wed Jun 21 12:34:58 2023 +0000
+++ b/LuaLibraryAnimate.wiki	Wed Jun 21 12:39:03 2023 +0000
@@ -195,8 +195,8 @@
 ==== `AnimTurn(hog, dir)` ====
 Makes `hog` face in direction `dir`, where `dir` equals either `"Right"` or `"Left"`.
 
-==== `AnimMove(hog, dir, x, y)` ====
-Makes `hog` walk in direction `dir` (`"Right"` or `"Left"`) until either its horizontal coordinate equals `x` or its vertical coordinate equals `y`.
+==== `AnimMove(hog, dir, x, y, maxMoveTime)` ====
+Makes `hog` walk in direction `dir` (`"Right"` or `"Left"`) until either its horizontal coordinate equals `x` or its vertical coordinate equals `y`. `maxMoveTime` is optional. If specified, the animation will automatically end if this number of milliseconds have passed.
 
 ==== `AnimJump(hog, jumpType)` ====
 Makes `hog` perform a jump of type `jumpType`, where `jumpType` is one of: