SphereCommunity
Is there anyway to make NPCs/Monsters Loot player when NPC see the corpse? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Requests (/Forum-Script-Requests)
+--- Thread: Is there anyway to make NPCs/Monsters Loot player when NPC see the corpse? (/Thread-Is-there-anyway-to-make-NPCs-Monsters-Loot-player-when-NPC-see-the-corpse)



Is there anyway to make NPCs/Monsters Loot player when NPC see the corpse? - alucardxlx1986 - 10-30-2018 07:45 PM

I found this in forum,and this runs exactly well
https://forum.spherecommunity.net/Thread-HOW-TO-LOOT-NPC-NPC-ONE-DEAD-DEAD-OR-CHAR

but I want the NPCs/Monsters if see player's corpse in some range,they run to the corpse and loot it.

Need help~ConfusedConfusedConfused


RE: Is there anyway to make NPCs/Monsters Loot player when NPC see the corpse? - jexnico - 01-12-2019 10:15 PM

(10-30-2018 07:45 PM)alucardxlx1986 Wrote:  I found this in forum,and this runs exactly well
https://forum.spherecommunity.net/Thread-HOW-TO-LOOT-NPC-NPC-ONE-DEAD-DEAD-OR-CHAR

but I want the NPCs/Monsters if see player's corpse in some range,they run to the corpse and loot it.

Need help~ConfusedConfusedConfused
well... i think you're looking for this
in sphere.ini, search for NPC_AI_LOOTING and active this

// NPC_AI_LOOTING 0100 Make NPCs loot nearby items and corpses