From a1db9242ec491efdee70a7184aa61e861b17595a Mon Sep 17 00:00:00 2001 From: BlockMen Date: Wed, 8 Jan 2014 13:47:53 +0100 Subject: Add third person view --- doc/lua_api.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index bd060f9f0..bfc12941b 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1874,6 +1874,12 @@ Player-only: (no-op for other objects) - override_day_night_ratio(ratio or nil) ^ 0...1: Overrides day-night ratio, controlling sunlight to a specific amount ^ nil: Disables override, defaulting to sunlight based on day-night cycle +- set_local_animation({x=0, y=79}, {x=168, y=187}, {x=189, y=198}, {x=200, y=219}, frame_speed=30): set animation for player model in third person view + ^ stand/idle animation key frames + ^ walk animation key frames + ^ dig animation key frames + ^ walk+dig animation key frames + ^ animation frame speed InvRef: Reference to an inventory methods: -- cgit v1.2.3