Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Wait For Trigger without using simplified system

 What is the function name in advanced scripting to write a Wait For trigger? I don't want to use the drop down simplified scripting because it will always fire as soon as the text is captured. 

I want to nest this function inside a GMCP block statement so it only captures and fires conditionally.

If you know how to capture text without using the simplified system, please do let me know. Any suggestions appreciated.


Answers

  • ShregShreg Member Posts: 25
    I'm not sure why you won't mention exactly what your objective is.  There are many who could help if they knew exactly what you are trying to do.  I'll answer part of your question.

    You say "I don't want to use the drop down simplified scripting because it will always fire as soon as the text is captured."
    That's not true.  Using a hybrid trigger, with both simplified scripting and advanced scripting, you can achieve the conditional wait that you seek.
    Example:

    <Advanced Scripting Window>
    if (capturedValue == targetValue) set_variable( waitBoolean, 1);

    <Simplified Scripting>
    waitBoolean = value 1 continue else stop
    Wait 1second 500 milliseconds (or however long)

    <Advanced Scripting Window>
    set_variable( waitBoolean, 0);

    <Simplified Scripting>
    Command ( Say I rule Achaea )

    That will trigger upon a specified condition and then wait for however long.








Sign In to Comment.