Ok I managed to set it up to accept rez from party members but how do I set the healer to rez when someone from party is dead? I can't find the option.
Thanks
It can be done with script (use function IsAlikeDeath )
LUA Programming
repeat
Sleep(100);
party = GetPartyList();
for user in party.list do
if(user:IsAlikeDeath()) then
Target(user);
UseSkill(1016);
ClearTarget();
end;
end;
until false;
Try something like this, its only for bishop and might have bugs I made it now and didn't test....
(08-27-2011 11:27 AM)Ryzer Wrote: [ -> ] LUA Programming
repeat
Sleep(100);
party = GetPartyList();
for user in party.list do
if(user:IsAlikeDeath()) then
Target(user);
UseSkill(1016);
ClearTarget();
end;
end;
until false;
Try something like this, its only for bishop and might have bugs I made it now and didn't test....
Does not work
Use search maybe?
Anyway you must use "UseSkillRaw(id)" not "UseSkill"
(06-11-2012 03:12 AM)TheBl4ckPhoenix Wrote: [ -> ]Use search maybe?
Anyway you must use "UseSkillRaw(id)" not "UseSkill"
I'm need list id skill for goddess of destruction, no one have?
If i'm not wrong there is a topic with all skills-actions... Anyway u have skillList.txt (or something like that) into l2tower folder.... Paste it into l2scripteditor and u will find it
(06-11-2012 17:10 PM)jgothicdark Wrote: [ -> ] (06-11-2012 03:12 AM)TheBl4ckPhoenix Wrote: [ -> ]Use search maybe?
Anyway you must use "UseSkillRaw(id)" not "UseSkill"
I'm need list id skill for goddess of destruction, no one have?
LUA Programming
skills=GetSkills();
for skill in skills.list do
ShowToClient("Skill", skill.name.."(ID: " .. skill.skillId .. ")");
end;