Hello Everyone,
I have a question. Is it possible to make Npcs Untargetable, I did changed npc to untargetable, but still i can target them. If there is a way could you give me some kind of hint ?
Untargetable Npc
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Untargetable Npc
Hint: Check how Christmas Trees are managed.
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Untargetable Npc
NPC.properties, bottom-most config:
NonTalkingNpcs = ...add here your npc ID
NonTalkingNpcs = ...add here your npc ID
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Untargetable Npc
NonTalkingNpcs means no chat window on double click, but still targetjurchiks wrote:NPC.properties, bottom-most config:
NonTalkingNpcs = ...add here your npc ID

Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Untargetable Npc
Well, it's not far from it, but that shouldn't be hard to make as a config too.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Ithil
- Posts: 15
- Joined: Tue Nov 16, 2010 4:39 pm
Re: Untargetable Npc
Sorry to reheat this topic, but...
In npc.sql have a column, named: "targetable". I set this some npc to 0, but still can target w. /target command.
Some places not have geo (Chamber of Delusion), and players can pull across Aenkinel to wall.
Q: How can I disable /target to some specified npcs (ie. bosses), or where can I find /target script?
In npc.sql have a column, named: "targetable". I set this some npc to 0, but still can target w. /target command.
Some places not have geo (Chamber of Delusion), and players can pull across Aenkinel to wall.
Q: How can I disable /target to some specified npcs (ie. bosses), or where can I find /target script?