Lineage 2 Tower Forum

Full Version: How to activate a skill in a script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good! I have a problem with the activation of a skill (Stealth), for more I try, the PJ moves and does everything else but I can not make you turn that skill, as deveria be the line of code for activation?
I'm using this, but I is working:
UseSkill (411, false, false); - Stealth
Someone could help me? Thank you!
    LUA Programming
TargetMe();
UseSkill(411, false, false); -- Stealth



This helped me, I think it will help you.
Still not throw me the skill, the only thing that change is on the line TargetMe (); the PJ targets them likewise, but do not throw the skill, have something to do that is a sub-class?
There is a way to redirect the shortcut bar in the script?
    LUA Programming
Command("/useshortcut 1 1");



Replace the 1 1 with the skill location on your shortcut bar.

Acid
Reference URL's