diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2023-09-22 20:50:13 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2023-09-22 20:50:13 +0100 |
commit | b1833bb01bf3a6ba3839b59441b0c18e37a33a19 (patch) | |
tree | 672fa8fac1217e718b34edbcf476752678ce87e5 | |
parent | 998c7660edc2cfb8126903aa726f9dec6ac1d4df (diff) |
DRTVWR-589 - more demo.lua tweaks
-rw-r--r-- | scripts/lua/demo.lua | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/scripts/lua/demo.lua b/scripts/lua/demo.lua index 9748384d75..dc2d9ef669 100644 --- a/scripts/lua/demo.lua +++ b/scripts/lua/demo.lua @@ -29,6 +29,17 @@ function demo_avatar() wear_by_name("Petrol Sue") sleep(8) + run_ui_command("Self.ToggleSitStand") + sleep(2) + run_ui_command("Self.ToggleSitStand") + sleep(2) + + run_ui_command("View.ZoomOut") + run_ui_command("View.ZoomOut") + run_ui_command("EditShape") + sleep(6) + close_floater("appearance") + end function demo_ui() @@ -37,8 +48,18 @@ function demo_ui() -- adding items to 'Build' menu -- popup_and_wait_ok("Extend UI") + popup_and_wait_ok("UI interaction") + open_floater("inventory") + open_floater("preferences") + open_floater("nearby_chat") + nearby_chat_send("Hello World!") + + sleep(5) + close_all_floaters() + + notif_response = nil - args = {{"MESSAGE", "Extend the UI now?"}} + args = {{"MESSAGE", "Customize the UI now?"}} show_notification("GenericAlertYesCancel", args, "notif_response") while not notif_response do sleep(0.2) |