Lineage 2 Tower Forum

Full Version: looking for some infos
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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)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
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
Reference URL's