SphereCommunity
Chivalry from CloudBr - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Chivalry from CloudBr (/Thread-Chivalry-from-CloudBr)



Chivalry from CloudBr - Kyrbis - 07-27-2013 08:12 AM

I just tested the chivalry system out of the script pack of cloudBR, and the system seems to require a "isfightingme" function. I looked so far through the script pack, but could not find it. has anyone experience with this script pack? to explain better: i want to use the chivalry system with the scp, but this function seems to be part of cloudBR script pack anywhere.


RE: Chivalry from CloudBr - Rattlehead - 07-27-2013 04:41 PM

Code:
[FUNCTION ISFIGHTINGME]
REF1=<ARGS>
IF (<REF1.HARMEDME <UID>>)
RETURN 1
ENDIF
FORCHARMEMORYTYPE MEMORY_FIGHT
    IF (<LINK> == <ARGN1>)
    RETURN 1
    ENDIF
ENDFOR
RETURN 0

it can be found in scripts\spells\sphere_spells_chivalry_extra.scp