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-nmm7 (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-nmm7 (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-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boss System
Author Message
Anarch Cassius
Master
**

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



Post: #7
RE: Boss System
Try replacing the e_BossSettings @attack trigger with this one

Code:
ON=@Attack
IF (<SRC.TAG0.GuardianBoss>==<UID>)
return 1
ENDIF
//call guardians to attack target
OBJ=<UID>
LOCAL.TARGET=<SRC>
FORCHARS 15 //check nearby chars
    IF (<TAG0.GuardianBoss>==<OBJ>) //if they are my guardian
        IF !(<FLAGS> & statf_war) // if not in a  fight
            TIMERF 1, TRYSRC <LOCAL.TARGET> ATTACK    //attack my target
        ENDIF
    ENDIF
ENDFOR

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
01-21-2017 12:31 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Anarch Cassius's post
Post Reply 


Messages In This Thread
Boss System - Staff_Stanic - 04-12-2014, 12:27 AM
RE: Boss System - amonvangrell - 04-12-2014, 02:32 PM
RE: Boss System - Staff_Stanic - 04-15-2014, 04:14 AM
RE: Boss System - amonvangrell - 04-15-2014, 11:38 AM
RE: Boss System - htid4life - 04-16-2014, 12:26 AM
RE: Boss System - babazar - 04-18-2014, 07:37 AM
RE: Boss System - Anarch Cassius - 01-21-2017 12:31 PM
RE: Boss System - Swiftik023 - 03-04-2018, 01:20 AM
RE: Boss System - jexnico - 04-14-2019, 10:29 PM
RE: Boss System - jexnico - 04-17-2019, 04:22 AM

Forum Jump:


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