L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Thread Closed 
 
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to activate a skill in a script
Author Message
sodapop Offline
Goblin Grave Robber
*

Posts: 10
Joined: Mar 2013
Reputation: 0
Version: 1.4.3.143
Post: #1
How to activate a skill in a script

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!
(This post was last modified: 06-26-2013 01:30 AM by sodapop.)
06-26-2013 01:30 AM
Find all posts by this user
natherlog Offline
VIP Member
***

Posts: 773
Joined: Jul 2012
Reputation: 96
Version: 1.4.3.143
Post: #2
RE: How to activate a skill in a script

    LUA Programming
TargetMe();
UseSkill(411, false, false); -- Stealth



This helped me, I think it will help you.

Best bot ever
06-26-2013 01:40 AM
Find all posts by this user
sodapop Offline
Goblin Grave Robber
*

Posts: 10
Joined: Mar 2013
Reputation: 0
Version: 1.4.3.143
Post: #3
RE: How to activate a skill in a script

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?
(This post was last modified: 06-26-2013 02:19 AM by sodapop.)
06-26-2013 02:02 AM
Find all posts by this user
AcidBurn Offline
DavidNeottAJ
*

Posts: 99
Joined: May 2011
Reputation: 33
Version: 1.4.1.118
Post: #4
RE: How to activate a skill in a script

    LUA Programming
Command("/useshortcut 1 1");



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

Acid
(This post was last modified: 06-26-2013 12:09 PM by AcidBurn.)
06-26-2013 12:08 PM
Visit this user's website Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  l2tower using skill's bogdanel 2 3,981 11-10-2015 18:17 PM
Last Post: cvetangor
  Get skill enchant level raid1141 1 4,515 10-15-2015 14:57 PM
Last Post: raid1141
  Nuke/skill delay lordbauer 6 5,694 04-15-2015 02:44 AM
Last Post: plixplox
Information Auto Activate Soulshots odair2 2 4,023 03-04-2015 18:34 PM
Last Post: TheQQmaster
Smile Elemental Summoner (Merrow the Unicorn) Skill Script feoh_wizard 0 3,413 02-14-2015 09:19 AM
Last Post: feoh_wizard
Big Grin dash skill(TH) aisvariukas 8 5,167 11-13-2014 18:50 PM
Last Post: aisvariukas
  Problema con IDs Skill ronycontreras 4 4,025 09-30-2014 23:18 PM
Last Post: ronycontreras
  Dark Assasin Move skill tuxevil 2 2,649 09-25-2014 03:09 AM
Last Post: soul2eat
  Skill does not work (Yul) henryhawk 0 1,645 09-01-2014 07:29 AM
Last Post: henryhawk
  SKILL ID leoss 3 3,007 07-02-2014 08:21 AM
Last Post: breaverbg



User(s) browsing this thread: 1 Guest(s)