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
Damage to self...
Author Message
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #8
RE: Damage to self...
Sorry I got that Wrong. Ill Repost that @Step and @GetHIt Bit again for the benefit of noobs who may be reading this post.

PHP Code:
ON=@Step
    REF1
=<SERV.UID.<SRC.UID>> // Stepper
    
REF2=<SERV.UID.<LINK.UID>> // Doer
    
REF3=<SERV.UID.<UID>> // Item
    
REF1.TAG.StoodOnUIDSFireField=<REF2.UID>
    IF <
REF1.ISPLAYER>
        
SERV.LOG @ITEMDEF <REF1.NAMEuid <REF1.UIDhas stepped on a <REF3.NAMEcreated by <REF2.NAMEuid <REF2.UID>
    ENDIF
    RETURN 


The GETHIT trigger and just to note who is who in my GETHIT trigger.
Code:
ON=@GetHit
    REF1=<SERV.UID.<SRC.UID>>    // The one that served the HIT
    REF2=<SERV.UID.<UID>>        // One getting HIT

ANd Below is the code that was added to my get hit trigger.
PHP Code:
    IF <REF2.TAG0.StoodOnUIDSFireField> == <REF2.UID>
        
REF2.TAG.StoodOnUIDSFireField=
        
SERV.LOG @GETHIT <REF2.NAMEstood on own fire field.
        
ARGN1=0
        ARGN2
=0
        ARGN3
=0
        
RETURN 0
    
ELSE
        IF <
REF2.TAG0.StoodOnUIDSFireField>
            
REF1=<SERV.UID.<REF2.TAG.StoodOnUIDSFireField>>
            
SERV.LOG @GETHIT <REF2.NAMEstood on a firefield created by <REF1.NAME>[<REF1.UID>]
            
ARGN2=dam_fire
            REF2
.TAG.StoodOnUIDSFireField=
        ENDIF
    ENDIF 
(This post was last modified: 11-04-2012 03:17 AM by Barnabus.)
11-04-2012 03:11 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Damage to self... - RanXerox - 11-01-2012, 08:02 AM
RE: Damage to self... - Shaklaban - 11-01-2012, 09:27 AM
RE: Damage to self... - RanXerox - 11-01-2012, 10:22 AM
RE: Damage to self... - Shaklaban - 11-01-2012, 11:20 PM
RE: Damage to self... - Barnabus - 11-01-2012, 10:05 PM
RE: Damage to self... - RanXerox - 11-02-2012, 01:04 AM
RE: Damage to self... - Barnabus - 11-02-2012, 01:41 AM
RE: Damage to self... - Barnabus - 11-04-2012 03:11 AM
RE: Damage to self... - Skul - 11-14-2012, 02:51 AM
RE: Damage to self... - RanXerox - 11-14-2012, 04:27 AM

Forum Jump:


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