• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Trigger for attachment to hero's hand ?

Status
Not open for further replies.
Level 4
Joined
Sep 10, 2008
Messages
79
I have read the tutorials but they tell me to do this trigger but it doesn't work unless I preplace sauron and change triggering unit to sauron. What am I missing here ?

Saurons Mace
Events
Map initialization
Conditions
Actions
Special Effect - Create a special effect attached to the right hand of (Triggering unit) using war3mapImported\SauronsMace.mdx

Here is the link where I got the attachment and trigger from
http://www.wc3c.net/showthread.php?t=81876
 
Level 8
Joined
Jul 28, 2008
Messages
211
Special Effect - Create a special effect attached to the right hand of (Triggering unit) using war3mapImported\SauronsMace.mdx
Change Triggering Unit to Sauron.

Open your map in the editor and place sauron somewhere. Then click on that Triggering Unit and click Select Unit and select that sauron you placed.

It isn't working cuz Map Initialization isn't triggered by an unit. So you have ti change that.
 
Level 4
Joined
Sep 10, 2008
Messages
79
Change Triggering Unit to Sauron.

Open your map in the editor and place sauron somewhere. Then click on that Triggering Unit and click Select Unit and select that sauron you placed.

It isn't working cuz Map Initialization isn't triggered by an unit. So you have ti change that.

It works when I do that BUT I have sauron as a hero in a tavern - I want him there not as a preplaced unit. I need a trigger that works that way.
 
Level 4
Joined
Sep 10, 2008
Messages
79
Ok someone messaged me the solution - here it is

So, you want to create a special effect on a unit that is created when someone buys the unit?

Events:
A unit Sells a unit
Conditions:
(Unit-type of (Sold Unit)) Equal to < your Hero >
Actions:
Create Special effect... (bla bla bla ) attached to the < where you want the effect to be > of (Sold Unit) using...
 
Status
Not open for further replies.
Top