Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MACRO] Loops
#2
Hi,

First of all, Macro was not designed to be a kind of scripting language, so no, no native support for it. But you can archive it working with the Condition engine:

Self.Health()==100 [NotHealth100]
Self.Say(My life is 100)
Exit()
{NotHealth100}
Self.Say(My life is not 100)

You can use the condition to jump around the macro ([ElseLabel] {Label}).

But remember: Macros are for simpler things, for more complex things it's expected to have a easier function.
Reply


Messages In This Thread
[MACRO] Loops - by Karadoborgu - 07-13-2016, 09:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)