A few trigger questions.

United

New Member
Reaction score
1
Okay,

I'm making a map, where at the beginning you get a Wisp. There are a few Neutral buildings/taverns where you can pick your hero. After you pick, your hero is moved to a new region. What trigger can I use to kill the Wisp when you pick a hero?

On the topic of taverns, I have two questions about them: How do you set the stock time of heroes in a tavern? Also, is there a way to set the order in which heroes are displayed in taverns? I have 5 races, 3 classes per race, and 4 heroes per class. In one tavern, I have all of one race. I want all 4 heroes of each class to be displayed in rows. Is this possible or is it random?

I have spent time looking on how to do this on my own. I didn't give up after 30 seconds. :eek:

Any help is appreciated. :cool:
 

seph ir oth

Mod'n Dat News Jon
Reaction score
262
3.) It is not possible to fit them all in (to my knowlege).
2.) Stock time is edited in either the tavern's or the hero's section of the object editor (I believe the hero's, however).
1.) Unit - A unit Sells a unit
(Buying unit) Equal to Wisp
-=Actions=-
 

Azylaminaz

Vox Populi
Reaction score
91
Four classes per a race, four hero types per a class. If you do that math, that is 16 heros. The tavren can only hold 12(Also, there is a select hero icon, not sure what would happen, I belive it goes away or something Oo). Second, you do change stock referbish in the units object edior, it is in the stats section I belive.
 

Darox

New Member
Reaction score
8
The heros in a tavern are arranged based on what order they were put under sellable units. Im pretty sure the fields under the heros for icon position do not matter in this case, but you can set em right as well to be sure.
 
G

Goauld

Guest
Actually, the icon positions in each hero's art data define where the icons are in a tavern or an altar. In the tavern's data you can only specify what heroes it sells, the other things are in heroes' stats.
 

United

New Member
Reaction score
1
Sort of an embarrassing mistake with the 4 classes, 4 per class thing. Whatever. Was not thinking. Thanks for pointing it out. :nuts:

My first question has been solved. Thanks to seph ir oth. + rep

My second question has also been solved. I solved it on my own, after I had posted, but thanks for showing me how anyways. :rolleyes:

Which comes to my third question. I have found the two fields (or the [,'i two I have noticed) that pertains to placing the location of the icon in the tavern. One's the X value, and one's the Y. I thought, heck, this would be easy? Right? No. The max for the X value is 2, and the max for Y is 3. Can anybody explain how I could get an icon to the top left? (I tried 1, 1)

Thanks.

edit: How can I attach a weapon I have downloaded to a Hero?
 

exge

New Member
Reaction score
15
1st, you import the mdx / mdl file and use the event
unit aquires an item
create a special effect attached tot he left hand/ right hand / weapon of hero manipulating unit using <path to custom model>
 
G

Goauld

Guest
Don't use special effects, you'd need a variable for each special effect if you ever wanted to remove them.

Rather, read this: Attachments

And, for the icon place, check this: Icon Coordinates Reference

Of course, you would have found these yourself if you had checked the tutorial repository. Remember this next time! ;)
 

SFilip

Gone but not forgotten
Reaction score
634
> Can someone tell me where it is?
Player - Set Property
 

radienx000

New Member
Reaction score
5
the Player- Set Property is obviously on:
Player
and than go to
Set Property

Can someone help me find where the thing is? (previous rely post).

Umm, I kinda know this is off-topic, but what is AoS - type map?

Don't want to waste space, Thanks alot!
 

SFilip

Gone but not forgotten
Reaction score
634
> Can someone help me find where the thing is?
well when you choose Set Property click on Current Gold and you will get a list of possible properties. just pick Food Cap and there you have it.

> but what is AoS - type map?
dota is an AoS map for instance. so are ToB, AoM, DDay etc.
 

radienx000

New Member
Reaction score
5
There are also Triggers I don't get, its:

Set Total_Heroes = 8
Set Random_Count = 8
Set Hero_Array[1] = Alchemist
Set Hero_Array[2] = Naga Sea Witch
Set Hero_Array[3] = Tinker
Set Hero_Array[4] = Beastmaster
Set Hero_Array[5] = Dark Ranger
Set Hero_Array[6] = Firelord
Set Hero_Array[7] = Pandaren Brewmaster
Set Hero_Array[8] = Pit Lord
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
Set Random_Data[(Integer A)] = (Integer A)

Where do you get these stuff in the trigger editor? I got this from
http://world-editor-tutorials.thehelper.net/herotavern.php
In the Creating the Triggers section
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top