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

How to make limit for infernal ulti?

Status
Not open for further replies.
Level 6
Joined
Mar 28, 2018
Messages
130
How to make limit for infernal ulti? call 1 and next infernal die.
Please help?
 
Level 12
Joined
Mar 24, 2011
Messages
1,082
When a player starts the effect of the infernal ability, try checking if the player already has a unit of type infernal, and if so, kill that unit.
Not MUI.

Give it an expiration timer which is equal to the cooldown of the spell ?
Would work only if you are not messing up with cooldowns.

Otherwise, you will have to record each caster and its spawn... no wait, you'll have to trigger the spell yourself.

Regards
-Ned
 
Level 9
Joined
Apr 23, 2011
Messages
527
Give it an expiration timer which is equal to the cooldown of the spell ?
Would work only if you are not messing up with cooldowns.

That wouldn't work in the context of the ability either, as the infernal would die (and would not be replaced) before the unit casts a new infernal.

For it to be MUI, it would be better to record the caster and if it has spawned an infernal, yes.
 
Level 16
Joined
Mar 25, 2016
Messages
1,327
Use this event:
  • Unit - A unit Spawns a summoned unit
When a unit summons an infernal, store the infernal for that unit (unit indexer or hashtable).
If the unit summons an infernal again, kill the previously summoned infernal, if it exists.


In case the infernal can be summoned from an item (Infernal Stone) as well, you might have to do a bit more to make sure this item is not affected as well.
 
Status
Not open for further replies.
Top