Hey guys, just wondering, is there an scripting guide/tutorial/book i can get my hands on? I love programming, i have a lot of experience in php, javascript, c#, vb.net, and some others. When i play this game i use a bunch of addons that sometimes are broken or bugged as hell bc of the lack of support. So my goal is to debug them, but i can do so much without the knowledge of the full extent of what i can and cannot do, so it would be great to get my hands on some info regarding this.
Thank you!
[Request] Scripting guide/tutorial/guide/whatever
Forum rules
Before posting on this forum, be sure to read the Terms of Use
Before posting on this forum, be sure to read the Terms of Use
Ads
- JayLeonHart
- Posts: 3
Re: [Request] Scripting guide/tutorial/guide/whatever
Not sure if these are any use, but somebody else was looking for WAR APIs the other day and these got linked. Hopefully they're of some use?
WAR API
API full list
WAR API
API full list
Re: [Request] Scripting guide/tutorial/guide/whatever
As for debugging and fixing stuff. If you type "/d" in the chat you get a debug window with logs and errors.
If you write d(L"some text " .. <some variable>) in the code it will display it in the debug window. You can quickly test stuff by typing "/script <command>" in the chat. Addons are written in lua.
If you want to check out all global functions in the game you can run
Lastly if it's for you a lua tutorial.
If you write d(L"some text " .. <some variable>) in the code it will display it in the debug window. You can quickly test stuff by typing "/script <command>" in the chat. Addons are written in lua.
If you want to check out all global functions in the game you can run
Code: Select all
/script for i,v in pairs(_G) do
if type(v) == "function" then
d(i)
end
end
Re: [Request] Scripting guide/tutorial/guide/whatever
Awesome!!! Thank you very much!
Who is online
Users browsing this forum: No registered users and 65 guests