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

Thread Closed 
 
Thread Rating:
  • 7 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cancel the target dead
Author Message
italope Offline
Elpy
*

Posts: 3
Joined: Jan 2013
Reputation: 0
Version: 1.4.2.133
Post: #1
cancel the target dead

ohello guys i to using this script to kill mobs edited


LUA Programming
range = 1200;
NpcName = "Restrainer Of Glory";
--------------------------------------------------------------------------------
repeat
Command("/target Restrainer Of Glory");
if(GetTarget() == nil)then
NpcL = GetNpcList();
for user in NpcL.list do
if(GetMe():GetRangeTo(user) < range)then
if(user:GetName() == NpcName)then
Target(user:GetId());
UseSkill(10763, false, true);
end;
Sleep(500);
end;
end;
Sleep(500);
end;
if(GetTarget()~= nil)then
if(GetTarget():IsAlikeDeath() == true)then
ClearTargets();
CancelTarget(true);
Sleep(500);
end;
end;
Sleep(500);
until false;



more boring it has an error after the mob dies you still get his butt until he disappeared that some of you will be able to edit or create a script for when he dies immediately change the subject?
from already thank you
02-02-2013 08:22 AM
Find all posts by this user
Fox Away
Fraka-kaka-kaka-kaka-kow!
******

Posts: 5,632
Joined: Oct 2011
Reputation: -6666548
Version: 1.4.2.142
Post: #2
RE: cancel the target dead

Spank that butt ! Why complicate your life whit this script

Heart
02-02-2013 09:43 AM
Visit this user's website Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  GetTarget() don't return monsters target ID Xerovator 3 180 11-16-2024 20:00 PM
Last Post: JennaDeh
  bot will target but not attack. elvis8925 3 3,804 04-09-2018 00:19 AM
Last Post: elvis8925
Star Remove Target canaldextiger 8 4,895 02-10-2018 22:19 PM
Last Post: canaldextiger
  Is lineage 2 RMT dead? kazurengan 0 2,391 08-06-2017 05:25 AM
Last Post: kazurengan
Information How to get 'PARTY MEMBER TARGET'? Caaioc 9 6,828 01-24-2016 09:57 AM
Last Post: TheQQmaster
  target for self buff manuel16007 1 3,273 01-22-2016 16:31 PM
Last Post: TheQQmaster
Rainbow Help to cancel target budarox 8 6,028 08-14-2015 06:31 AM
Last Post: budarox
  Change title to user's target vaskouf 4 4,267 06-28-2015 09:25 AM
Last Post: Vinter
  Clear target after kill mobs astalavista 0 2,981 06-07-2015 18:46 PM
Last Post: astalavista
  Target fix MoonSeed 5 7,469 03-23-2015 09:51 AM
Last Post: Fox



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