This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sense [2016/10/11 15:20] – [Timeline API] ace | sense [2020/05/22 17:29] (current) – [Addon Layout] ace | ||
---|---|---|---|
Line 14: | Line 14: | ||
* **'' | * **'' | ||
* Holds executable files that <color red>MUST BE DOWNLOADED AND INSTALLED BY THE USER</ | * Holds executable files that <color red>MUST BE DOWNLOADED AND INSTALLED BY THE USER</ | ||
- | * [[https:// | + | |
- | * [[https:// | + | |
+ | * [[https:// | ||
* **'' | * **'' | ||
* Holds automatic and user-created images for use in the addon. | * Holds automatic and user-created images for use in the addon. | ||
Line 25: | Line 26: | ||
* Holds universal/ | * Holds universal/ | ||
- | ===== Timeline Sample ===== | + | ===== Timeline Sample |
<code lua> | <code lua> | ||
local profile = { | local profile = { | ||
- | name = " | + | name = " |
- | reset = " | + | reset = " |
- | start = " | + | start = " |
- | started = 0, | + | timeline = { -- Timeline is a table full of all events that the profile walk through. |
- | timeline = { | + | |
{ post = 5, sound = "Goes Big", main_image = "GOES BIG", helper_image = "", | { post = 5, sound = "Goes Big", main_image = "GOES BIG", helper_image = "", | ||
+ | -- " | ||
+ | -- " | ||
+ | -- " | ||
+ | -- " | ||
+ | -- " | ||
+ | -- " | ||
+ | -- { name = Name of the variable to be altered/ | ||
{ post = 8, sound = "Gob jab", main_image = " | { post = 8, sound = "Gob jab", main_image = " | ||
+ | -- " | ||
{ post = 12, sound = "Gob jab", main_image = " | { post = 12, sound = "Gob jab", main_image = " | ||
{ post = 16, sound = "Gob jab", main_image = " | { post = 16, sound = "Gob jab", main_image = " | ||
Line 43: | Line 51: | ||
{ post = 41, sound = " | { post = 41, sound = " | ||
- | { post = 50, sound = "Goes Small", | + | { post = 50, sound = "Goes Small", |
+ | -- " | ||
+ | -- " | ||
+ | -- " | ||
+ | -- " | ||
{ post = 50, sound = " | { post = 50, sound = " | ||
{ post = 60, sound = " | { post = 60, sound = " | ||
Line 69: | Line 81: | ||
return profile | return profile | ||
</ | </ | ||
- | ===== Trigger API ===== | + | ===== Trigger |
+ | |||
+ | <code lua> | ||
+ | local profile = { | ||
+ | name = "Ace Triggers", | ||
+ | triggers = { | ||
+ | { detect_chat = " | ||
+ | sound = " | ||
+ | }, | ||
+ | { detect_chat = " | ||
+ | sound = " | ||
+ | runcode = " | ||
+ | }, | ||
+ | { detect_action = " | ||
+ | sound = " | ||
+ | runcode = " | ||
+ | }, | ||
+ | { detect_action = " | ||
+ | sound = " | ||
+ | runcode = " | ||
+ | }, | ||
+ | { detect_function = " | ||
+ | sound = " | ||
+ | runcode = " | ||
+ | }, | ||
+ | } | ||
+ | } | ||
+ | return profile | ||
+ | </ | ||
+ | |||
+ | Tags:\\ | ||
+ | * **'' | ||
+ | * Detects a partial chat-line from the chat log. | ||
+ | * **'' | ||
+ | * Detects an action being cast by self or other entities, via the minion API. | ||
+ | * **'' | ||
+ | * Modifies a detect_action statement to activate only if the caster is one of the listed content IDs. | ||
+ | * **'' | ||
+ | * Modifies a detect_action statement to also activate if the caster is the Player. | ||
+ | * **'' | ||
+ | * Detects based on the return value of a single function string or a normal lua function statement, or a lua table filled with multiple function strings or statements. | ||
+ | |||
+ | ===== User Made Profiles ===== | ||
+ | |||
+ | All existing profile can be found on [[http:// | ||
+ | These profiles are to be installed into C: |