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

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Target Bug ?
Author Message
kimimaru Offline
Expired VIP Member
**

Posts: 90
Joined: Jan 2013
Reputation: 9
Version: 1.4.2.142
Post: #1
Target Bug ?

hello guys, i have one problem with target in path points, when i set pve target with patch point, the char only change target to other mob after mob dead disappear

i use the script to ClearTarget() but, still not working :/
(This post was last modified: 08-21-2014 04:27 AM by kimimaru.)
08-20-2014 23:17 PM
Find all posts by this user Quote this message in a reply
tophersoccer Offline
Expired VIP Member
**

Posts: 422
Joined: Aug 2012
Reputation: 142
Version: 1.4.3.143
Post: #2
RE: Target Bug ?

In your script when you want to cancel targets use all these:

    LUA Programming
ClearTargets()
CancelTarget(false)
CancelTarget(false)
CancelTarget(false)



this will for sure clear your target
08-21-2014 11:36 AM
Find all posts by this user Quote this message in a reply
 Reputed by : atrivido1(+2)
kimimaru Offline
Expired VIP Member
**

Posts: 90
Joined: Jan 2013
Reputation: 9
Version: 1.4.2.142
Post: #3
RE: Target Bug ?

(08-21-2014 11:36 AM)tophersoccer Wrote:  In your script when you want to cancel targets use all these:

    LUA Programming
ClearTargets()
CancelTarget(false)
CancelTarget(false)
CancelTarget(false)



this will for sure clear your target

Tanks, works better now, but still have a little bug, the toon change to other target but he back to the dead target sometimes...
08-21-2014 13:54 PM
Find all posts by this user Quote this message in a reply
tophersoccer Offline
Expired VIP Member
**

Posts: 422
Joined: Aug 2012
Reputation: 142
Version: 1.4.3.143
Post: #4
RE: Target Bug ?

In your script you can add if GetTarget():GetHp() == 0 (or call IsAlikeDeath()) then cancel target
08-21-2014 23:15 PM
Find all posts by this user Quote this message in a reply
 Reputed by : kimimaru(+2)
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  GetTarget() don't return monsters target ID Xerovator 3 141 11-16-2024 20:00 PM
Last Post: JennaDeh
  bot will target but not attack. elvis8925 3 3,800 04-09-2018 00:19 AM
Last Post: elvis8925
Star Remove Target canaldextiger 8 4,885 02-10-2018 22:19 PM
Last Post: canaldextiger
Information How to get 'PARTY MEMBER TARGET'? Caaioc 9 6,818 01-24-2016 09:57 AM
Last Post: TheQQmaster
  target for self buff manuel16007 1 3,270 01-22-2016 16:31 PM
Last Post: TheQQmaster
Rainbow Help to cancel target budarox 8 6,016 08-14-2015 06:31 AM
Last Post: budarox
  Change title to user's target vaskouf 4 4,259 06-28-2015 09:25 AM
Last Post: Vinter
  Clear target after kill mobs astalavista 0 2,978 06-07-2015 18:46 PM
Last Post: astalavista
  Target fix MoonSeed 5 7,456 03-23-2015 09:51 AM
Last Post: Fox
  How to remove the hold target? supera 5 4,375 12-26-2014 21:13 PM
Last Post: supera



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