Cycloned unit lost on map.

Status
Not open for further replies.
Level 12
Joined
Dec 2, 2016
Messages
733
I have a script that when a player leaves the game the game kills his main unit, and another script that basically detects when the unit is killed and runs another script.

But I found a bug that when the unit is cycloned he can't be found on the map until he returns down. Is there a way to bypass this cyclone placeholder remover and kill the unit while cycloned? Either way even if I just detect the leave and run the other script I still need to kill this unit once he's free'd from the cyclone.

Thanks.
 
I have a script that when a player leaves the game the game kills his main unit, and another script that basically detects when the unit is killed and runs another script.

But I found a bug that when the unit is cycloned he can't be found on the map until he returns down. Is there a way to bypass this cyclone placeholder remover and kill the unit while cycloned? Either way even if I just detect the leave and run the other script I still need to kill this unit once he's free'd from the cyclone.

Thanks.
Go to Gameplay Constants - Gameplay - Cyclone Hides Unit set it to false
 
Hey so I'm running into another issue, I need the cyclone to remove the hitbox below while cycloned. Is there an option to do that or is the only way to do that by changing

"Cyclone Hides Unit to True" ?
 
Or Maybe just turn off the collision of the unit.
Tried it only seems to make the affected unit able to go through buildings yet other units can't pass through.

Not sure if I should ask here or go to the scripting area.

But I basically need to detect when the unit is cycloned, store the unit and kill the unit when he exits the cyclone. Should I just set a timer as long as the cyclone duration and kill the unit once the timer is up? Or is there a better way of doing that?
 
Status
Not open for further replies.
Back
Top