creep revival problems

icond3maker

New Member
Reaction score
6
hello, i read Tinki3's Creep Revival System and copied his triggers. At first , it was running but then after 2-3 saves it became a disaster. Whenever I kill a creep it really goes to the center of the entire map.

Here are the triggers :
Trigger:
  • CRS Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Actions)
        • Loop - Actions
          • Set Integer = (Integer + 1)
          • Unit - Set the custom value of (Picked unit) to Integer
          • Custom script: set udg_CREEPX[udg_Integer] = GetUnitX(GetEnumUnit())
          • Custom script: set udg_CREEPY[udg_Integer] = GetUnitY(GetEnumUnit())


Trigger:
  • Creep Reviving
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Owner of (Triggering unit)) Equal to Neutral Hostile) and (((Triggering unit) is Summoned) Not equal to True)
    • Actions
      • Special Effect - Create a special effect at ((Center of (Entire map)) offset by (CREEPX[(Custom value of (Triggering unit))], CREEPY[(Custom value of (Triggering unit))])) using Abilities\Spells\NightElf\TrueshotAura\TrueshotAura.mdl
      • Wait 1.00 seconds
      • Special Effect - Destroy (Last created special effect)
      • Wait ((Real((Level of (Triggering unit)))) x 5.00) seconds
      • Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at ((Center of (Entire map)) offset by (CREEPX[(Custom value of (Triggering unit))], CREEPY[(Custom value of (Triggering unit))])) facing (Random angle) degrees
      • Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top