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

Post Reply 
 
Thread Rating:
  • 6 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about ress script
Author Message
jpquesada Offline
Expired VIP Member
**

Posts: 18
Joined: Jun 2013
Reputation: 0
Version: 1.4.2.133
Post: #1
Question about ress script

I use this script, but what i need to do to ress a specific player and no all in party? Thanks in advance.

ShowToClient("SYS","Script Ress Party Started");
ResSkillId = 11784; -- Aoero Blessed Resurrection = 11784; Iss Angel's Resurrection = 11564;
-----------------------------------------------------------
PlayerList = GetPlayerList();
ResSkill = GetSkills():FindById(ResSkillId);
repeat
if (GetMe():IsAlikeDeath() == true)then
ShowToClient("SYS","Your char is dead, w8ing for res");
Sleep(10000)
repeat
Sleep(1000);
until (GetMe():IsAlikeDeath() == false);
ShowToClient("SYS","Your char is now alive");
end;
for user in PlayerList.list do
if(user:IsMyPartyMember() == true)then
if (user:IsMyPartyMember()) and (user:IsAlikeDeath() == true)and(ResSkill ~= nil) and(ResSkill:CanBeUsed()) then
Target(user);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);
end;
end;
end;
Sleep(5000)
until false;
09-20-2013 03:23 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  L2 Dragon question about bot, working or not kaan22747 0 2,809 02-15-2017 21:10 PM
Last Post: kaan22747
  Question about bot kiciulica66 0 1,949 12-03-2016 01:00 AM
Last Post: kiciulica66
F.A.Q. Sources question teris19942 1 2,812 06-04-2016 02:41 AM
Last Post: gamias1
  Multi-Box software question.. plixplox 3 3,464 11-19-2015 23:17 PM
Last Post: valakas123
F.A.Q. Question (??) budarox 0 2,063 07-04-2015 07:49 AM
Last Post: budarox
  newbie question vipernestas 2 3,283 04-29-2015 16:35 PM
Last Post: tsounakas
  hi all 1 question botosu86 0 1,726 02-24-2015 20:09 PM
Last Post: botosu86
  Question about L2Tower akoaymaylobo 1 2,327 02-04-2015 03:17 AM
Last Post: Fox
  a weird pick up question.... soul2eat 3 3,202 01-07-2015 13:48 PM
Last Post: knutoz
  AIR RUSH question capucine 26 15,228 01-04-2015 10:32 AM
Last Post: tuansydney



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