The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there anyway to make NPCs/Monsters Loot player when NPC see the corpse?
Author Message
alucardxlx1986
Apprentice
*

Posts: 14
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0



Post: #1
Is there anyway to make NPCs/Monsters Loot player when NPC see the corpse?
I found this in forum,and this runs exactly well
https://forum.spherecommunity.net/Thread...AD-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
10-30-2018 07:45 PM
Find all posts by this user Like Post Quote this message in a reply
jexnico
Journeyman
*

Posts: 191
Likes Given: 114
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #2
RE: Is there anyway to make NPCs/Monsters Loot player when NPC see the corpse?
(10-30-2018 07:45 PM)alucardxlx1986 Wrote:  I found this in forum,and this runs exactly well
https://forum.spherecommunity.net/Thread...AD-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
01-12-2019 10:15 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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