Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 19.03.2006, 22:38   #26
Xellos
Архивный участник
 
Join Date: Feb 2006
Posts: 88
Default

i don't want to DELETE the item...

let the monster drop the picked up items on dying
do u found a way to enumerate the inventory?

btw - why do u set the AddGetItemDesire via timer?
set it on create with 15 (have to be more than the waypoint desire)
and the monster will pick up the item and continue with moving to next waypoint

(hmm, u like to double or triple post?)
Xellos is offline  
Old 19.03.2006, 23:19   #27
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

enumerate the inventory?

No, there is no function in the AI that I have seen from my investigations which will get items in inventory into an array which you could loop through. That is pretty much the only way it would be achievable I am thinking.

Can you elaborate on your statement "set it on create with 15"

(And yes, Im to lazy to hit the edit button on my first post :P)
Firedaemon is offline  
Old 20.03.2006, 00:15   #28
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Quote:
Originally Posted by toolpunk
@shawnmb
lookie-lookie
Thanks ^^
Shawnmb is offline  
Old 18.04.2006, 02:39   #29
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

The SEE_ITEM handler is only envoked when a mob sees the actual items drop within its sight. The see_item handler should have actually been called "SEE_ITEM_DROP" because its the dropping action that gets the handler to envoke. The handler is not envoked if an item is sitting on the ground and the NPC passes by.

All items that the mobs pickup are dropped when they are killed. If you have cached set to auto delete unowned items on start, then those collected items will be deleted on the next cached restart.
Firedaemon is offline  
Old 23.04.2006, 15:04   #30
Xelat
Архивный участник
 
Join Date: Apr 2006
Posts: 70
Default

Nice aspect of this, it's a when mob was killed, he drops all what he's pickup! :P
Xelat is offline  
Old 24.04.2006, 07:00   #31
angelicmercer
Архивный участник
 
Join Date: Apr 2006
Posts: 42
Default

i dont have any use for this at the moment but thanks for the share =)
angelicmercer is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:32.