summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2023-09-20 18:24:18 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2023-09-20 18:24:18 +0100
commitac67a7c7a11c188281f357f8f2e6e10eeb3a5b78 (patch)
tree54fde5a0cf4eb51b5a555227c3208d86fe806e05 /scripts
parentccbd7a50ef413a851ef9688ba374148cc41e8239 (diff)
DRTVWR-589 - added play animation and started to collect demo scripts
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lua/avatar.lua14
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