Template:Eam Automacros: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with " <noinclude>This template describes the general section ''Automacros'''</noinclude> At this point, you can define macros and call them, typing 'eventMacro <macro name>' in Ope...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
  <noinclude>This template describes the general section ''Automacros'''</noinclude>
  <noinclude>This template describes the general section [[EventMacro#Automacros]]</noinclude>
== [[:Category:EventMacro_Automacros|Automacros]] ==
 
At this point, you can define macros and call them, typing 'eventMacro <macro name>' in OpenKore's console input.
At this point, you can define macros and call them, typing 'eventMacro <macro name>' in OpenKore's console input.


Line 5: Line 7:


Automacro block consists of:
Automacro block consists of:
* One or more '''Parameters''' ('''call''' being the only required one).
* One or more '''[[:Category:EventMacro_Parameters|Parameters]]''' ('''call''' being the only required one).
* One or more '''Conditions'''.
* One or more '''[[EventMacro#Conditions|Conditions]]'''.


Automacro does not trigger if there is currently running macro in exclusive mode. Otherwise, automacro clears macro queue (which means that all currently running macros are stopped) before call.
Automacro does not trigger if there is currently running macro in exclusive mode. Otherwise, automacro clears macro queue (which means that all currently running macros are stopped) before call.


The point of automacro is that you use them to check for certain conditions and call your macro when all conditions are fulfilled.
The point of automacro is that you use them to check for certain conditions and call your macro when all conditions are fulfilled.
All possible conditions are listed on the [[:Category:EventMacro_Automacros|category page]].

Latest revision as of 10:34, 5 July 2019

This template describes the general section EventMacro#Automacros

Automacros

At this point, you can define macros and call them, typing 'eventMacro <macro name>' in OpenKore's console input.

Automacro is an automatic trigger for calling your macros, just like blocks in config.txt are automatic triggers for certain AI actions.

Automacro block consists of:

Automacro does not trigger if there is currently running macro in exclusive mode. Otherwise, automacro clears macro queue (which means that all currently running macros are stopped) before call.

The point of automacro is that you use them to check for certain conditions and call your macro when all conditions are fulfilled.

All possible conditions are listed on the category page.