MMOMinion

Full Version: **** FOR ADDON DEVS : ADDONS WILL NOW REQUIRE A GAMESTATE CHECK *****
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.