Lineage 2 Tower Forum

Full Version: ClearTarget...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
repeat
    moveDistance = 100;

    TargetNpc("SMTH, ID);
    Talk();
    ClickAndWait("menu_select?ask=1000&reply=1", "Smth.");
    ClearTargets();
until false


Okey... That should be a script... No idea why it does not clear targets after it does Clickandwait...
Its clear not cancel
I have clear... Confused

I have tried with CancelTargets too and It does not cancel em Big Grin
CancelTarget(true);
    LUA Programming
repeat
    moveDistance = 100;
 
    TargetNpc("SMTH", ID);
    Talk();
    ClickAndWait("menu_select?ask=1000&reply=1", "Smth.");
    ClearTargets();
    CancelTarget(true);
until false

Reference URL's