SphereCommunity
@KILL not firing - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: @KILL not firing (/Thread-KILL-not-firing)

Pages: 1 2


RE: @KILL not firing - Elmortis - 02-25-2013 12:06 PM

i use this fix

Code:
ON=@Death
IF (<NPC>)
   //<---------------------------------------------------------------------------------->
   //<[SCP] ����������� ������ ���� ��� �������� @Kill >-------------------------------->
   FORCHARMEMORYTYPE MEMORY_FIGHT
     COLOR |= 00010
   ENDFOR
   IF (<MEMORYFINDTYPE.MEMORY_ISPAWNED.UID>)
      IF (<TAG0.LVL>)
         //[MOD] ����� ��������� ������� ������� �� ��� ������ >------------------------>
         MEMORYFINDTYPE.MEMORY_ISPAWNED.LINK.TIMER=<EVAL (<TAG.LVL>*10)+60>
      ELSE
         //[MOD] ����� ��������� NPC ��� ��� ������ 5 ����� >--------------------------->
         MEMORYFINDTYPE.MEMORY_ISPAWNED.LINK.TIMER=500
      ENDIF



RE: @KILL not firing - BladeCraft - 02-26-2013 03:57 AM

Here is another "fix" if you do not like the default settings.. I saved this from a thread long long ago but not even sure if the link still works after the forum changes

//fix to make sure @kill works
//http://www.sphereserver.net/forums/index.php?showtopic=37793&st=0&p=166930&#entry166930
FORCHARMEMORYTYPE MEMORY_FIGHT
color |= <def0.memory_harmedby>
ENDFOR