From 660fa516bfe774c77947c47a97154d6f069f414d Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 21 Feb 2015 23:38:53 +0200 Subject: Fix some issues with animations, and allow non-looped animations to be defined --- doc/lua_api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/lua_api.txt') 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) -- cgit v1.2.3