Line 15: | Line 15: | ||
{{ScriptFunction|void|ShowPathToLocation|(string reason, SVector location)|Shows a path to given location|5=<pre> Space.UI.ShowPathToLocation("the reason", Vector.New(5,1,0))</pre>}} | {{ScriptFunction|void|ShowPathToLocation|(string reason, SVector location)|Shows a path to given location|5=<pre> Space.UI.ShowPathToLocation("the reason", Vector.New(5,1,0))</pre>}} | ||
− | {{ScriptFunction|void|OpenQuestsWindow|()|Opens the Quests window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenQuestsWindow|()|Opens the Quests window|5=<pre>Space.UI.OpenQuestsWindow()</pre>}} |
− | {{ScriptFunction|void|HideQuestsWindow|()|Hides the Quests window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideQuestsWindow|()|Hides the Quests window|5=<pre>Space.UI.HideQuestsWindow()</pre>}} |
− | {{ScriptFunction|void|OpenSettingsWindow|()|Opens the Settings window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenSettingsWindow|()|Opens the Settings window|5=<pre>Space.UI.OpenSettingsWindow()</pre>}} |
− | {{ScriptFunction|void|HideSettingsWindow|()|Hides the Settings window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideSettingsWindow|()|Hides the Settings window|5=<pre>Space.UI.HideSettingsWindow()</pre>}} |
− | {{ScriptFunction|void|OpenFriendsWindow|()|Opens the Friends window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenFriendsWindow|()|Opens the Friends window|5=<pre>Space.UI.OpenFriendsWindow()</pre>}} |
− | {{ScriptFunction|void|HideFriendsWindow|()|Hides the Friends window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideFriendsWindow|()|Hides the Friends window|5=<pre>Space.UI.HideFriendsWindow()</pre>}} |
− | {{ScriptFunction|void|OpenExploreWindow|()|Opens the Explore window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenExploreWindow|()|Opens the Explore window|5=<pre>Space.UI.OpenExploreWindow()</pre>}} |
− | {{ScriptFunction|void|HideExploreWindow|()|Hides the Explore window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideExploreWindow|()|Hides the Explore window|5=<pre>Space.UI.HideExploreWindow()</pre>}} |
− | {{ScriptFunction|void|OpenEventsWindow|()|Opens the Events window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenEventsWindow|()|Opens the Events window|5=<pre>Space.UI.OpenEventsWindow()</pre>}} |
− | {{ScriptFunction|void|HideEventsWindow|()|Hides the Events window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideEventsWindow|()|Hides the Events window|5=<pre>Space.UI.HideEventsWindow()</pre>}} |
− | {{ScriptFunction|void|OpenHomeWindow|()|Opens the Home window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenHomeWindow|()|Opens the Home window|5=<pre>Space.UI.OpenHomeWindow()</pre>}} |
− | {{ScriptFunction|void|HideHomeWindow|()|Hides the Home window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideHomeWindow|()|Hides the Home window|5=<pre>Space.UI.HideHomeWindow()</pre>}} |
− | {{ScriptFunction|void|OpenInventoryWindow|()|Opens the Inventory window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenInventoryWindow|()|Opens the Inventory window|5=<pre>Space.UI.OpenInventoryWindow()</pre>}} |
− | {{ScriptFunction|void|HideInventoryWindow|()|Hides the Inventory window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideInventoryWindow|()|Hides the Inventory window|5=<pre>Space.UI.HideInventoryWindow()</pre>}} |
− | {{ScriptFunction|void|OpenOutfitWindow|()|Opens the Outfit window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenOutfitWindow|()|Opens the Outfit window|5=<pre>Space.UI.OpenOutfitWindow()</pre>}} |
− | {{ScriptFunction|void|HideOutfitWindow|()|Hides the Outfit window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideOutfitWindow|()|Hides the Outfit window|5=<pre>Space.UI.HideOutfitWindow()</pre>}} |
− | {{ScriptFunction|void|OpenShopWindow|()|Opens the Shop window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenShopWindow|()|Opens the Shop window|5=<pre>Space.UI.OpenShopWindow()</pre>}} |
− | {{ScriptFunction|void|HideShopWindow|()|Hides the Shop window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideShopWindow|()|Hides the Shop window|5=<pre>Space.UI.HideShopWindow()</pre>}} |
− | {{ScriptFunction|void|OpenSnapshotWindow|()|Opens the Snapshot window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenSnapshotWindow|()|Opens the Snapshot window|5=<pre>Space.UI.OpenSnapshotWindow()</pre>}} |
− | {{ScriptFunction|void|HideSnapshotWindow|()|Hides the Snapshot window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideSnapshotWindow|()|Hides the Snapshot window|5=<pre>Space.UI.HideSnapshotWindow()</pre>}} |
− | {{ScriptFunction|void|OpenHelpWindow|()|Opens the Help window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenHelpWindow|()|Opens the Help window|5=<pre>Space.UI.OpenHelpWindow()</pre>}} |
− | {{ScriptFunction|void|HideHelpWindow|()|Hides the Help window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideHelpWindow|()|Hides the Help window|5=<pre>Space.UI.HideHelpWindow()</pre>}} |
− | {{ScriptFunction|void|OpenProfileWin|()|Opens the Profile window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenProfileWin|()|Opens the Profile window|5=<pre>Space.UI.OpenProfileWin()</pre>}} |
− | {{ScriptFunction|void|HideProfileWin|()|Hides the Profile window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideProfileWin|()|Hides the Profile window|5=<pre>Space.UI.HideProfileWin()</pre>}} |
− | {{ScriptFunction|void|OpenUpgradeAccountWindow|()|Opens the Upgrade Account window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenUpgradeAccountWindow|()|Opens the Upgrade Account window|5=<pre>Space.UI.OpenUpgradeAccountWindow()</pre>}} |
− | {{ScriptFunction|void|HideUpgradeAccountWindow|()|Hides the Upgrade Account window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideUpgradeAccountWindow|()|Hides the Upgrade Account window|5=<pre>Space.UI.HideUpgradeAccountWindow()</pre>}} |
− | {{ScriptFunction|void|OpenRegionInfoWindow|()|Opens the Region Info window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenRegionInfoWindow|()|Opens the Region Info window|5=<pre>Space.UI.OpenRegionInfoWindow()</pre>}} |
− | {{ScriptFunction|void|HideRegionInfoWindow|()|Hides the Region Info window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideRegionInfoWindow|()|Hides the Region Info window|5=<pre>Space.UI.HideRegionInfoWindow()</pre>}} |
− | {{ScriptFunction|void|OpenExitWindow|()|Opens the Exit window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenExitWindow|()|Opens the Exit window|5=<pre>Space.UI.OpenExitWindow()</pre>}} |
− | {{ScriptFunction|void|HideExitWindow|()|Hides the Exit window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideExitWindow|()|Hides the Exit window|5=<pre>Space.UI.HideExitWindow()</pre>}} |
− | {{ScriptFunction|void|OpenMailWindow|()|Opens the Mail window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenMailWindow|()|Opens the Mail window|5=<pre>Space.UI.OpenMailWindow()</pre>}} |
− | {{ScriptFunction|void|HideMailWindow|()|Hides the Mail window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideMailWindow|()|Hides the Mail window|5=<pre>Space.UI.HideMailWindow()</pre>}} |
− | {{ScriptFunction|void|OpenBuyGoldWindow|()|Opens the Buy Gold window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenBuyGoldWindow|()|Opens the Buy Gold window|5=<pre>Space.UI.OpenBuyGoldWindow()</pre>}} |
− | {{ScriptFunction|void|HideBuyGoldWindow|()|Hides the Buy Gold window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideBuyGoldWindow|()|Hides the Buy Gold window|5=<pre>Space.UI.HideBuyGoldWindow()</pre>}} |
− | {{ScriptFunction|void|OpenChatWindow|()|Opens the Chat window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenChatWindow|()|Opens the Chat window|5=<pre>Space.UI.OpenChatWindow()</pre>}} |
− | {{ScriptFunction|void|HideChatWindow|()|Hides the Chat window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideChatWindow|()|Hides the Chat window|5=<pre>Space.UI.HideChatWindow()</pre>}} |
− | {{ScriptFunction|void|OpenRoomEditorWindow|()|Opens the Room Editor window|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenRoomEditorWindow|()|Opens the Room Editor window|5=<pre>Space.UI.OpenRoomEditorWindow()</pre>}} |
− | {{ScriptFunction|void|HideRoomEditorWindow|()|Hides the Room Editor window|5=<pre></pre>}} | + | {{ScriptFunction|void|HideRoomEditorWindow|()|Hides the Room Editor window|5=<pre>Space.UI.HideRoomEditorWindow()</pre>}} |
− | {{ScriptFunction|void|OpenDevicePicker|()|Opens the Device Picker|5=<pre></pre>}} | + | {{ScriptFunction|void|OpenDevicePicker|()|Opens the Device Picker|5=<pre>Space.UI.OpenDevicePicker()</pre>}} |
− | {{ScriptFunction|SUIRaycastResult|Raycast|()|Shoots a UI Raycast and returns the result as SUIRayCastResult|5=<pre></pre>}} | + | {{ScriptFunction|SUIRaycastResult|Raycast|()|Shoots a UI Raycast and returns the result as SUIRayCastResult|5=<pre>RayCastResult= Space.UI.Raycast()</pre>}} |
Opens the Appearance Editor (Outfit)
Space.UI.OpenAppearanceEditor()
Shows a notification
Space.UI.AddNotification('Warning','This is a notification')
Adds a "Global Action Button" which is a custom button you add to the UI that calls an action of your choice then clears after being clicked
gbClick = function() Space.Log("global action button pressed") end Space.UI.AddGlobalActionButton("The Button","The Tooltip", gbClick)
Clears a previously added Global Action Button 'button'
Space.UI.ClearGlobalActionButton("The Button")
Shows given location
Space.UI.ShowLocation("the reason", Vector.New(5,1,0))
Shows a path to given location
Space.UI.ShowPathToLocation("the reason", Vector.New(5,1,0))
Opens the Quests window
Space.UI.OpenQuestsWindow()
Hides the Quests window
Space.UI.HideQuestsWindow()
Opens the Settings window
Space.UI.OpenSettingsWindow()
Hides the Settings window
Space.UI.HideSettingsWindow()
Opens the Friends window
Space.UI.OpenFriendsWindow()
Hides the Friends window
Space.UI.HideFriendsWindow()
Opens the Explore window
Space.UI.OpenExploreWindow()
Hides the Explore window
Space.UI.HideExploreWindow()
Opens the Events window
Space.UI.OpenEventsWindow()
Hides the Events window
Space.UI.HideEventsWindow()
Opens the Home window
Space.UI.OpenHomeWindow()
Hides the Home window
Space.UI.HideHomeWindow()
Opens the Inventory window
Space.UI.OpenInventoryWindow()
Hides the Inventory window
Space.UI.HideInventoryWindow()
Opens the Outfit window
Space.UI.OpenOutfitWindow()
Hides the Outfit window
Space.UI.HideOutfitWindow()
Opens the Shop window
Space.UI.OpenShopWindow()
Hides the Shop window
Space.UI.HideShopWindow()
Opens the Snapshot window
Space.UI.OpenSnapshotWindow()
Hides the Snapshot window
Space.UI.HideSnapshotWindow()
Opens the Help window
Space.UI.OpenHelpWindow()
Hides the Help window
Space.UI.HideHelpWindow()
Opens the Profile window
Space.UI.OpenProfileWin()
Hides the Profile window
Space.UI.HideProfileWin()
Opens the Upgrade Account window
Space.UI.OpenUpgradeAccountWindow()
Hides the Upgrade Account window
Space.UI.HideUpgradeAccountWindow()
Opens the Region Info window
Space.UI.OpenRegionInfoWindow()
Hides the Region Info window
Space.UI.HideRegionInfoWindow()
Opens the Exit window
Space.UI.OpenExitWindow()
Hides the Exit window
Space.UI.HideExitWindow()
Opens the Mail window
Space.UI.OpenMailWindow()
Hides the Mail window
Space.UI.HideMailWindow()
Opens the Buy Gold window
Space.UI.OpenBuyGoldWindow()
Hides the Buy Gold window
Space.UI.HideBuyGoldWindow()
Opens the Chat window
Space.UI.OpenChatWindow()
Hides the Chat window
Space.UI.HideChatWindow()
Opens the Room Editor window
Space.UI.OpenRoomEditorWindow()
Hides the Room Editor window
Space.UI.HideRoomEditorWindow()
Opens the Device Picker
Space.UI.OpenDevicePicker()
Shoots a UI Raycast and returns the result as SUIRayCastResult
RayCastResult= Space.UI.Raycast()
Show the Auction button
Space.UI.ShowAuctionButton = false
Show the Chat
Space.UI.ShowChat = false
Show the Currency button
Space.UI.ShowCurrencyButton = false
Show the Explore button
Space.UI.ShowExploreButton = false
Show the Friends button
Space.UI.ShowFriendsButton = false
Show the Help button
Space.UI.ShowHelpButton = false
Show the Home button
Space.UI.ShowHomeButton = false
Show the Hot Bar
Space.UI.ShowHotBar = false
Show the Inventory button
Space.UI.ShowInventoryButton = false
Set to true to show the Minimap
Space.UI.ShowMiniMap = false
Set to true to show the Outfit button
Space.UI.ShowOutfitButton = false
Show the Quests button
Space.UI.ShowQuestsButton = false
Show the Shop button
Space.UI.ShowShopButton = false
Show the Snapshot button
Space.UI.ShowSnapshotButton = false
Show the User Interface
Space.UI.ShowUI = false
|