How would I check if, say, "Examine Tree" were in the menu after right clicking a tree?
I imagine I would somehow use Function GetChooseOptions(TextType: string): Array of TOptions;
:bart:
Printable View
How would I check if, say, "Examine Tree" were in the menu after right clicking a tree?
I imagine I would somehow use Function GetChooseOptions(TextType: string): Array of TOptions;
:bart:
WaitOption('xamin', 1000); <- Will search for the option with the "xamin" string in it for 1000 ms and click it if found.
WaitOptionMulti(['xami', 'mine', 'ree'], 1000); <- Same as above but will check for all of the specified strings.
I think what he mean is just a function that checks if the option "Examine Tree" exists, but not selecting it. Use OptionsExist(['the texts'], false) will return the boolean but not do anything (not even moving the mouse) about the option.