08-20-2015, 01:37 AM
Please be advised that we will be adding a GetGameState() function that you will have to use to run your OnUpdate functions. This will allow use to run Lua in the title and char select screen.
GetGameState() returns, 0=Opening, 1=Ingame, 2=Char select screen, 3= Title screen
You will be using GameState 1 for 99% of things unless you wish to do stuff in those 2 screens
Here is an example how to use it.
http://pastebin.com/QLsf5wj0
and this is what the ffxiv.lua looks like with it in.
https://www.dropbox.com/s/rdck66emj9kgjb...v.lua?dl=0
Please edit your addons to check for gamestate before pulsing or crashes will happen as soon as you enter the charselect screen or titlescreen.
GetGameState() returns, 0=Opening, 1=Ingame, 2=Char select screen, 3= Title screen
You will be using GameState 1 for 99% of things unless you wish to do stuff in those 2 screens
Here is an example how to use it.
http://pastebin.com/QLsf5wj0
and this is what the ffxiv.lua looks like with it in.
https://www.dropbox.com/s/rdck66emj9kgjb...v.lua?dl=0
Please edit your addons to check for gamestate before pulsing or crashes will happen as soon as you enter the charselect screen or titlescreen.