diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2023-09-20 18:24:18 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2023-09-20 18:24:18 +0100 |
commit | ac67a7c7a11c188281f357f8f2e6e10eeb3a5b78 (patch) | |
tree | 54fde5a0cf4eb51b5a555227c3208d86fe806e05 /scripts | |
parent | ccbd7a50ef413a851ef9688ba374148cc41e8239 (diff) |
DRTVWR-589 - added play animation and started to collect demo scripts
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lua/avatar.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/lua/avatar.lua b/scripts/lua/avatar.lua new file mode 100644 index 0000000000..7c419a740c --- /dev/null +++ b/scripts/lua/avatar.lua @@ -0,0 +1,14 @@ +function call_once_func()
+ run_ui_command("World.EnvSettings", "midnight")
+ sleep(1)
+ run_ui_command("World.EnvSettings", "noon")
+ sleep(1)
+ wear_by_name("* AVL")
+ run_ui_command("Avatar.ResetSelfSkeletonAndAnimations")
+ sleep(5)
+ wear_by_name("* Elephant")
+ sleep(5)
+ play_animation("Elephant_Fly");
+ sleep(5)
+ play_animation("Elephant_Fly",1);
+end
\ No newline at end of file |