1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Updated LUA Events (markdown)

Robert Beekman 2016-11-03 21:37:17 +01:00
parent e4fe26a1f5
commit 57ddf172fc

@ -3,7 +3,12 @@ Within the LUA environment you can use events to react to certain things, such a
To use events you need to subscribe to them. You can subscribe to the same event more than once if you want.
The examples below show how subscribing works.
---
## Overview
* [ProfileUpdating](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#profileupdating)
* [ProfileDrawing](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#profiledrawing)
* [KeyboardKeyPressed](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#keyboardkeypressed)
## Functions
### ProfileUpdating
Triggers whenever the profile is being updated. Use this event to process your own changes **before** every frame.
If you want to change the way a layer is drawn, this is a good place to do so.