• 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.

Set unit expiry time?

Status
Not open for further replies.
Level 7
Joined
Apr 17, 2017
Messages
316
Afaik, you can't directly change that however you can still pause/unpause it or you can replace those units with different summoned units and with different timers. For example create 5 second, 10 second version of your summoned unit then replace it.
 
Level 4
Joined
Sep 2, 2016
Messages
48
@Rugarus I do it this way:
Event:
Unit - Creates summoned unit
Conditions:
Type of Summoned Unit = X
Actions:
Unit - Add Y seconds expiration timer to Summned Unit

Do you understand?
 
Level 12
Joined
Dec 2, 2016
Messages
733
@Rugarus I do it this way:
Event:
Unit - Creates summoned unit
Conditions:
Type of Summoned Unit = X
Actions:
Unit - Add Y seconds expiration timer to Summned Unit

Do you understand?
Well basically I have these summoned units. And they tend to bug sometimes in my game so I thought to add an ability that when pressed resets the unit and creates another in specific it's the human build feature that bugs out when they get hit with chain lightning. But I need to when they get resetted to be created with the same remaining expiration.
 
Status
Not open for further replies.
Top