From 66a9e916b0057b507bf7d9e3cb2c920e673ca13c Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Mon, 20 Jun 2022 20:59:22 -0300 Subject: [PATCH] added new method to sit the player forcely --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index dd246bf..3f4b78f 100644 --- a/init.lua +++ b/init.lua @@ -378,3 +378,8 @@ function airutils.getAngleFromPositions(origin, destiny) if angle_north < 0 then angle_north = angle_north + 360 end return angle_north end + +function airutils.sit(player) + --set_animation(frame_range, frame_speed, frame_blend, frame_loop) + player:set_animation({x = 81, y = 160},30, 0, true) +end