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

[Trigger] Infernal Creation

Status
Not open for further replies.
Level 5
Joined
Jul 8, 2007
Messages
146
How do I make it so, for example, 1 minute into game time an infernal spawns in the center of the map but it uses the animation of him crash-landing his meteor into the ground to summon him. So basically using the Dreadlord's Infernal ability, rather than just, "Create - Unit". Thanks to all of you who so far have helped me in one way or another, all your names will be in the credits. :wink:
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
Make a unit with no model, shadow,food cost, the ability Locust, etc (a dummy unit), and then do:

(create a copy of that unit)
Add your infernal spell to Last Created Unit
Order Last Created Unit to Undead Dreadlord - Infernal (place)

Or, avoiding leaks

(where loc is a Point variable)

Set loc = center of the map (or wherever the infernal spawns)
Unit - Create 1 (of your dummy) at loc
Unit - Add (your infernal ability) to Last Created Unit
Unit - Order Last Created Unit to Undead Dreadlord - Infernal loc
Custom script: call RemoveLocation( udg_loc )
 
Status
Not open for further replies.
Top