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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Animals won't start fights
Author Message
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #1
Animals won't start fights
So I have some AI scripts that make creatures fight. They used to work great and now they don't.

It seems the old ATTACK command doesn't work fully anymore, so I changed over to ATTACKER.ADD.

That helped, one event that wasn't working at all now makes animals fight monsters. Another event was previously showing the starting to attack emote (using ATTACK, not ATTACKER.ADD) and now also works against monsters, only.

Brain_animal no longer seems willing to start a fight with brain_animal. They will defend each other from monster attacks (the first event), but not attack other animals when hungry (the second), only monsters.

How do I force an animal to actually follow through and attack another animal instead of just declaring intent to?

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
01-25-2017 12:40 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Animals won't start fights - Anarch Cassius - 01-25-2017 12:40 PM
RE: Animals won't start fights - massis87 - 01-26-2017, 12:20 PM
RE: Animals won't start fights - darksun84 - 01-26-2017, 07:39 PM
RE: Animals won't start fights - Leonidas - 01-27-2017, 12:09 PM
RE: Animals won't start fights - Leonidas - 01-28-2017, 07:36 AM
RE: Animals won't start fights - Leonidas - 01-28-2017, 09:43 AM
RE: Animals won't start fights - Coruja - 01-28-2017, 06:52 PM
RE: Animals won't start fights - Coruja - 01-31-2017, 01:31 AM
RE: Animals won't start fights - Coruja - 01-31-2017, 08:32 AM

Forum Jump:


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