User Tools

Site Tools



gui_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
gui_api [2018/09/07 07:45] fxfiregui_api [2018/09/07 07:45] fxfire
Line 3: Line 3:
 ====GUI API Documentation==== ====GUI API Documentation====
 You can easily build your own ingame GUI or draw custom shapes / icons / pictures through LUA.  You can easily build your own ingame GUI or draw custom shapes / icons / pictures through LUA. 
-Each rendered frame the "Gameloop.Draw" - LUA-Event is called. You need to register your LUA function for this event and then you can build your GUI in there. Example:+Each rendered frame the "Gameloop.Draw" - LUA-Event is called. You need to register your LUA function for this event and then you can build your GUI in there. 
 Simple demo code {{ ::firstaddon.zip |}} you can download and extract into your addon folder: MINIONAPP\Bots\xxxx\LuaMods\ Simple demo code {{ ::firstaddon.zip |}} you can download and extract into your addon folder: MINIONAPP\Bots\xxxx\LuaMods\
 +
 +Example:
 To get you started, let's draw a simple window with a slider, create a new .lua file, add it to your addon's module.def and put the following code into that new lua file: To get you started, let's draw a simple window with a slider, create a new .lua file, add it to your addon's module.def and put the following code into that new lua file:
 <code lua> <code lua>
gui_api.txt · Last modified: 2023/04/21 07:34 by kali