• 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 Hero hold Item at start?

Status
Not open for further replies.
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Hero - Create Claws of Attack +15 and give it to Hero
Its pretty simple. Or,
 

Attachments

  • Hero Item.jpg
    Hero Item.jpg
    141.2 KB · Views: 581
Level 3
Joined
May 23, 2008
Messages
50
double click on your hero and go to the inventory tab. Listed there should be buttons labeled slots 1 - 6 click on what ever one you choose and select what ever item you want. And there you go. start up the game and your hero will have whatever item you picked.


ahh lol you beat me too it
 
Level 3
Joined
Feb 24, 2008
Messages
67
double click on your hero and go to the inventory tab. Listed there should be buttons labeled slots 1 - 6 click on what ever one you choose and select what ever item you want. And there you go. start up the game and your hero will have whatever item you picked.


ahh lol you beat me too it

Well, it saves having to trigger the thing, but it's inpractical because if the hero is not placed in the map in the beginning... you can't use the abovementioned method.
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
  • Events
    • Unit - a Unit enters playable map area
  • Conditions
    • Unittype of triggering Unit equal to your hero
  • Actions
    • Item - create item of type <choose one> at position of triggering Unit
    • Hero - give last created item to triggering Unit
    • Trigger - turn off this trigger
this is the trigger that give you the item when the hero is built.
will be necessary to turn it off after used, otherwise it will be run every time the hero is unloaded or revived

check some tutorials about triggering and also about leaks, cause the trigger above leaks a region
 
Status
Not open for further replies.
Top