Help: Collision problem

minikrampan

Ultra Cool Member
Reaction score
28
So in my current map I've got a Hero with a resurrect spell that can be used on dead heroes. When a hero dies he usually dissapears. But in my map I've made it so when they die the lay on the ground doing nothing but waiting for ress. But theres a problem however. I want the dead ones not to be able to have collision, Because they block pretty bad when they'r dead. I've tried alot of diffrents things like turning collision off, pathing map to none, adding crow form and giving them ghost ability even use windwalk when they die. But nothing works they have collision no matter what..

And please do not tell me to remove collision entierly or something stupid like that. Because they shall have collision when they are alive.

Thanks for any solution.
Trigger:
  • hero dies
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
      • ((Owner of (Triggering unit)) is an ally of Player 1 (Red)) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has an item of type Ankh of Reincarnation) Equal to False
        • Then - Actions
          • Set d = (Dying unit)
          • Set temp_point = (Position of d)
          • Hero - Instantly revive d at temp_point, Hide revival graphics
          • Custom script: call RemoveLocation(udg_temp_point)
          • Unit - Turn collision for d Off
          • Custom script: call SetUnitPathing(udg_d,false)
          • Unit - Add Dead to d
          • Unit - Order d to Orc Blademaster - Wind Walk
          • Unit - Remove Dead from d
          • Hero - Disable experience gain for d
          • Selection - Select d for (Owner of d)
          • Unit - Make d Invulnerable
          • Unit - Set life of d to 1.00%
          • Animation - Play d's death animation
          • Unit - Pause d
        • Else - Actions
 

Turtlehead91

New Member
Reaction score
0
i am not sure how to fix it, but i would like to point out that the dying unit has to be an ally of player 1 (red). if you were testing it with a different aliance then it would not work. Check that out. Gl
 
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