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

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
looking for some infos
Author Message
Dragonik Offline
Goblin Grave Robber
*

Posts: 13
Joined: Dec 2011
Reputation: -1
Version: 1.4.3.143
Post: #1
looking for some infos

Hi Folks,
i started a few weeks ago to writing scripts in zR now i want to start with tower.

so what i want to know if its possible in lua that its detects which class is logged in atm and than useing the right skills?
for example
i dont want to make a farm script for every class so is it possible to make cheks like if its archer use archer skill and if its dagger use dagger skills or with buffer if its ISS SD use dances and if ISS SM use songs?

I know its a noob question but hey i never ever coded anything before i started with zr and in lua its much more difficult than in zR as i can see or atleast from my pov
02-11-2014 08:15 AM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version: 1.4.2.133
Post: #2
RE: looking for some infos

(02-11-2014 08:15 AM)Dragonik Wrote:  Hi Folks,
i started a few weeks ago to writing scripts in zR now i want to start with tower.

so what i want to know if its possible in lua that its detects which class is logged in atm and than useing the right skills?
for example
i dont want to make a farm script for every class so is it possible to make cheks like if its archer use archer skill and if its dagger use dagger skills or with buffer if its ISS SD use dances and if ISS SM use songs?

I know its a noob question but hey i never ever coded anything before i started with zr and in lua its much more difficult than in zR as i can see or atleast from my pov

if GetMe():GetClass() == id of class then
--do smth
end

PUSH [Image: knUu53] IF HELPED
02-11-2014 14:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Dragonik Offline
Goblin Grave Robber
*

Posts: 13
Joined: Dec 2011
Reputation: -1
Version: 1.4.3.143
Post: #3
RE: looking for some infos

ahh okay i was checking all the commands and so but couldnt figure out how it rly works since iam just doing this for a few days nowXD
i rly appreciate your help
02-14-2014 07:40 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  MOB HP / LEVEL / INFOS on Title NaoJogoMais 2 2,821 04-14-2014 05:10 AM
Last Post: NaoJogoMais



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