Lineage 2 Tower Forum

Full Version: Send Ressurection to Party.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
i was trying many kinds of scripts but i cant manage a script to res all party menbers, could i have a litte help here ?


Ty.
did you try something like this?
this is simple version, not tested
    LUA Programming
repeat
	PlayerList = GetPlayerList();
	for user in PlayerList.list do 
		if(user:IsMyPartyMember() == true) and (GetMe():GetRangeTo(user) < 900)then
			Target(user);
			Sleep(500);
			UseItem(737); --	Scroll of Resurrection
		end
	end;
	Sleep(1000);
until false;

not work, somebody will repair this?

all time its "Inwalid Target"
first of all there is already a script posted few days ago by me (but it uses aero's skill not scroll)

second : mmh, he missed to write the condition when party member is death....
    LUA Programming
repeat
	PlayerList = GetPlayerList();
	for user in PlayerList.list do 
          if(user:IsMyPartyMember() == true) and 
            (user:IsAlikeDeath() == true) and                       
            (GetMe():GetRangeTo(user) < 900) then
                        Sleep(800);
			Target(user);
			Sleep(900);
			UseItem(737); --	Scroll of Resurrection
		end
	end;
	Sleep(1000);
until false;

thanks, pet too ressurection?
no...
how to add to this pet ressurection?

PlayerList = GetPlayerList(); and GetPetList(); ?
it is kinda useless becouse you will need to accept the ress (like when your char die) (maybe there is an option to accept pet ress too, i don't remember now..)
in menu of l2tower /cfg its Ressurection section and here its option AutoAccept ON Smile

maybe this working too for pets?
i don't think, check if there is same option but with "pet" word

    LUA Programming
repeat
	PetList = GetPetList();
	for pet in PetList.list do 
 if(pet:IsPet() == true) and 
 (pet:IsAlikeDeath() == true) and 
 (GetMe():GetRangeTo(pet) < 800) then
 Sleep(800);
 Target(pet);
 Sleep(900);
 UseItem(737); --	Scroll of Resurrection
 end
	end;
	Sleep(1000);
until false;



try this,and don't forget ++++ Big Grin


----- now works
Pages: 1 2 3
Reference URL's