summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>2015-02-21 23:38:53 +0200
committerest31 <MTest31@outlook.com>2015-06-22 01:53:38 +0200
commit660fa516bfe774c77947c47a97154d6f069f414d (patch)
tree60cbb826cfda9f08bd747aab3f087a75aec1df4c /doc
parent622918d8a86ab2bb8a6ef1211b9a2ed1ad4c9b96 (diff)
downloadminetest-660fa516bfe774c77947c47a97154d6f069f414d.tar.gz
minetest-660fa516bfe774c77947c47a97154d6f069f414d.tar.bz2
minetest-660fa516bfe774c77947c47a97154d6f069f414d.zip
Fix some issues with animations, and allow non-looped animations to be defined
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index a65c53c1a..d2505284a 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2434,8 +2434,8 @@ This is basically a reference to a C++ `ServerActiveObject`
* `set_wielded_item(item)`: replaces the wielded item, returns `true` if successful
* `set_armor_groups({group1=rating, group2=rating, ...})`
* `get_armor_groups()`: returns a table with the armor group ratings
-* `set_animation({x=1,y=1}, frame_speed=15, frame_blend=0)`
-* `get_animation()`: returns range, frame_speed and frame_blend
+* `set_animation({x=1,y=1}, frame_speed=15, frame_blend=0, frame_loop=true)`
+* `get_animation()`: returns range, frame_speed, frame_blend and frame_loop
* `set_attach(parent, bone, position, rotation)`
* `bone`: string
* `position`: `{x=num, y=num, z=num}` (relative)