Thread: FAQ Discussion
View Single Post
02/28/14, 11:42 AM   #2
Wykkyd
Are you Wykkyd Gaming?
 
Wykkyd's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 107
Originally Posted by Swarog View Post
1. How can I copy some UI text (for example: NPC dialog text) to clipboard?
I do not think an addon can force anything to the user's local clipboard. I haven't found a functional Lua command to do so within the confines of the API that ZOS has enabled. Someone may have found something, but I wouldn't hold my breath waiting.

Originally Posted by Swarog View Post
2. How can I call remote web service (REST for simplicity)?
You can't. The Lua enabled by ZOS's game client API does not allow for interaction with external objects (files, databases, scripts, websites, nothing).

Originally Posted by Swarog View Post
3. How can I save and restore character settings while its creation?
Settings for your addon can be stored in any variable that is attached to a SavedVariable that the API recognizes (either through a setting in the addon's .txt file or via calling the ZO_ command (I forget offhand, but you can find plenty of examples in existing addons)). Most in-game settings for keybinds, controls, etc are protected/private and can't be set via an Addon. I think there are some exceptions but not many.
  Reply With Quote