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

Thread Closed 
 
Thread Rating:
  • 24 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Command to attackable NPCs (Cocoons)
Author Message
devling Offline
Expired VIP Member
**

Posts: 62
Joined: Dec 2011
Reputation: 0
Version: 1.4.2.142
Post: #1
Command to attackable NPCs (Cocoons)

Is there a particular command to add NPCs to be attackable like regulare monsters?

I am planning to use this in Fairy Settlement to attack cocoons aswell as monsters.

anybody got a way to do something like this?
01-11-2012 17:05 PM
Find all posts by this user
amiroooo Offline
Beta Tester

Posts: 1,270
Joined: Sep 2011
Reputation: 412
Version: 1.4.2.142
Post: #2
RE: Command to attackable NPCs (Cocoons)

I see 4 cocoon npcs in client, which ones are the mobs?
Code:
displayId   Name
33147       Cocoon    
33148       Large Cocoon
32919       Cocoon
32920       Large Cocoon
if you find out their Ids you might be lucky that one of devs removes them from npc list.
you can know their Id using this plugin.
    LUA Programming
function OnLTick1s()
if (GetTarget() ~= nil) then
	if (GetTarget():GetNpcId() == 33147) or (GetTarget():GetNpcId() == 33148) or (GetTarget():GetNpcId() == 32919) or (GetTarget():GetNpcId() == 32920) then
		ShowToClient("My target","is a Cocoon and it has NpcId of:" .. tostring(GetTarget():GetNpcId()));
	end;
end;
end;

01-11-2012 18:15 PM
Find all posts by this user
darkscream Offline
‡※-Like a Boss-※‡
**

Posts: 102
Joined: Jan 2012
Reputation: 8
Version: 1.4.2.133
Post: #3
RE: Command to attackable NPCs (Cocoons)

32919 is the ID

"We're all in the same game; Just different levels.
Dealing with the same hell; Just different devils."

[Image: user.gif]
07-06-2012 11:19 AM
Find all posts by this user
xar4gon Offline
Elpy
*

Posts: 1
Joined: Apr 2012
Reputation: 0
Version: 1.4.1.99
Post: #4
RE: Command to attackable NPCs (Cocoons)

good, forgive my ignorance .. how I can attack the large cocoons?? Nose mui well as I have to put the 32,919 CODIO guess that will be a script? someone can put me to copy? graciass wymn use!
08-18-2012 01:34 AM
Find all posts by this user
ministra Offline
VIP Member
***

Posts: 26
Joined: Apr 2012
Reputation: 1
Version: 1.4.2.135
Post: #5
RE: Command to attackable NPCs (Cocoons)

use search funtions man Blush
have script already fixed and workedAngel
08-18-2012 12:58 PM
Find all posts by this user
vertias Offline
Goblin Grave Robber
*

Posts: 12
Joined: Aug 2012
Reputation: 0
Version: 1.4.2.132
Post: #6
RE: Command to attackable NPCs (Cocoons)

so show us this script pls
08-20-2012 15:48 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,887
Joined: Mar 2012
Reputation: 601
Version: 1.4.3.143
Post: #7
RE: Command to attackable NPCs (Cocoons)

No.
Use search.
08-20-2012 16:45 PM
Find all posts by this user
 Reputed by : Fox(+2) , vertias(+1)
vertias Offline
Goblin Grave Robber
*

Posts: 12
Joined: Aug 2012
Reputation: 0
Version: 1.4.2.132
Post: #8
RE: Command to attackable NPCs (Cocoons)

i use and find 2-4 scripts, but work only one, and char run away from poligon and die :DDD
and would be nice if u load file with script pls

or make macro with delay 60 s (in macro /target large cocoon)
sad =(

my brain is blown up
and nobody answers me
(This post was last modified: 08-21-2012 11:44 AM by vertias.)
08-21-2012 09:13 AM
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  drop command/function Emkej8 4 4,116 08-13-2016 21:00 PM
Last Post: Emkej
  Pluguin Chat command for start and stop Scrypt OxenteBahia 1 2,332 08-24-2015 22:45 PM
Last Post: schubbel2208
  Command list DjNanos 2 5,059 07-28-2015 16:13 PM
Last Post: DjNanos
  ic ant use command /cfg teo23mal 3 2,637 12-12-2014 13:01 PM
Last Post: Fox
  stop/start script by command onisoru 2 4,660 11-06-2014 09:12 AM
Last Post: acqsen
Information ncwest naia server npcs down or tower bug? buybuy 1 2,329 10-10-2014 16:26 PM
Last Post: dumwian
  Chat command buffing? NNBoT 2 2,772 10-03-2014 16:29 PM
Last Post: NNBoT
Star Cocoons Script 2014 Luzbell 9 7,054 09-18-2014 16:42 PM
Last Post: banj36
  Don't attack command ruff88 2 2,700 06-17-2014 09:13 AM
Last Post: ruff88
  I can not place the command / / cfg sodapop 5 3,631 06-02-2014 07:27 AM
Last Post: ExoDo



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