Help adding items to spawned hero

Vitriolic

New Member
Reaction score
0
Well i know how to spawn a hero what i dont know is how do i add items to the spawned unit does this require a new trigger or samples plz! ;)
 

Exide

I am amazingly focused right now!
Reaction score
448
You can use the same trigger, just add these actions:
Code:
    Hero - Create Horn of Cenarius and give it to (Last created unit)
    Hero - Create Claws of Attack +15 and give it to (Last created unit)

It's under: Hero -> Create Item For Hero.
-Of course, change the items so it suits your map.
 

Vitriolic

New Member
Reaction score
0
Thanks alot + rep (The created hero only got the Abilitys ive set for him like 100 agi,str,ite, how do i increase these for the created unit?)
 

Exide

I am amazingly focused right now!
Reaction score
448
Thanks alot + rep (The created hero only got the Abilitys ive set for him like 100 agi,str,ite, how do i increase these for the created unit?)

You could make an item that -when used- increases Str, Agi and Int by X (X = how much you want it to increase), and make the item be auto-used and removed when acquired.
-Then you simply give the Hero Y amount of these items with a trigger (just like before), depending on how much you want to increase the stats. :thup:

EDIT: Or better still, you use this action:
Code:
Hero - Modify Strength of (Last created unit): Add 10

It's also under Hero. :p
 

Vitriolic

New Member
Reaction score
0
:p thanks again however i just found 1 more thing i need help with :nuts:
how do i make the Hero get lets say level 8 blizzard as neutral hostile dosent use their skill points :|
(just make a final version of it just for that hero i assume would do the trick)
 

Kazuga

Let the game begin...
Reaction score
110
Code:
Unit - Set level of (Your ability) for (Your unit) to (Your value)
Under Unit - Set Level Of Ability For Unit
 

Vitriolic

New Member
Reaction score
0
Code:
Unit - Set level of (Your ability) for (Your unit) to (Your value)
Under Unit - Set Level Of Ability For Unit

well it dosent work since the unit isent on the map untill a specific time i cant trigger it and using last created unit on ability dosent seem to work ive added Attribute bonus just to see if it works and it dosent and yes the created unit does got the ability :>
 

Vitriolic

New Member
Reaction score
0
But if i added the ability to the unit first trough trigger
Unit - Add Attribute bonus for (last created unit) all works ;)
 

cleeezzz

The Undead Ranger.
Reaction score
268
>well it dosent work since the unit isent on the map untill a specific time

as soon as you create/replace the unit, use set level of ability of (Last Created/Replaced Unit)
 

Dameon

"All the power in the world resides in the eyes"
Reaction score
127
Hold down shift and double click on the unit's base str int and agi, that will make you able to go over the limit.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top