• 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] Buying a hero

Status
Not open for further replies.
Level 1
Joined
Dec 29, 2006
Messages
2
i need to make a trigger to make so that whenever i buy a hero no matter where it will spawn in the player start location...:infl_thumbs_up:

Been tryin to create it but it sux it always spawns in the place of the tavern..:infl_thumbs_up:

and how to change the icon for disabled icons..:infl_thumbs_up:
 
Level 16
Joined
Oct 30, 2004
Messages
1,277
You can move the unit instantly to another location so it will look like it spawned there. Trigger would be like this:

event - unit enters playable map area
condition - unit type equal to "your hero"
actions:
-move triggering unit instantly to "your region"
 
you can only overwrite an existing disabled icon or import a new one with a new disabled icon.
eg:
We want to change the disabled Holy Light icon.
For that we can import a custom one or import one from warcraft. But make sure its a disabled icon.
Now import that icon and change the path to the disabled Holy Light icon.
The path should be: 'ReplaceableTexture\CommandButtonsDisabled\DISBTNHolyBolt.blp'

Now when you have the buff silence or need higher level for the spell you can see the imported icon.
 
Level 8
Joined
Sep 13, 2006
Messages
431
You can move the unit instantly to another location so it will look like it spawned there. Trigger would be like this:

event - unit enters playable map area
condition - unit type equal to "your hero"
actions:
-move triggering unit instantly to "your region"

I agree, but for player start location,
Unit - Move (Sold unit) instantly to ((Owner of (Sold unit)) start location)

Hope this helps...
 
Status
Not open for further replies.
Top