• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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