From b361105b1203ccb8bc26c10331818cef55a19117 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Thu, 22 Dec 2011 11:56:39 -0600 Subject: [PATCH] This is a particularly useful thing that I'd like to have with me wherever I theme. basically, LoadActor(THEME:GetPathB("","_wait"),5) to wait 5 seconds. best used for in/out burger --- Themes/_fallback/BGAnimations/_wait.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Themes/_fallback/BGAnimations/_wait.lua diff --git a/Themes/_fallback/BGAnimations/_wait.lua b/Themes/_fallback/BGAnimations/_wait.lua new file mode 100644 index 0000000000..02384f8304 --- /dev/null +++ b/Themes/_fallback/BGAnimations/_wait.lua @@ -0,0 +1,5 @@ +local time = ... +assert(time) +return Def.ActorFrame{ + Def.Actor{ OnCommand=cmd(sleep,time); }; +}; \ No newline at end of file