• 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.

Hero Tavern Question

Status
Not open for further replies.
Level 3
Joined
Jun 9, 2010
Messages
59
Is there a way to make the hero tavern's units be purchasable without needing a selection unit to be there?
If its possible(which im sure it is) how can you do it?

Or is there some special trick to make it appear that there are no units there but the wares are still selectable?

Thanks for any help,
Army_Strong
 
Last edited:
Level 11
Joined
Feb 11, 2010
Messages
199
Is there a way to make the hero tavern's units be purchasable without needing a selection unit to be there?
Yes, easily.
If its possible(which im sure it is) how can you do it?
Well one of the *easiest* ways for you would just to make the selection unit invisible (just give it no model) and unselectable (with locust). There are tons of other ways you can do it too, though, like making the tavern a selectable unit (for all players) with abilities (that pick a hero for a player).
 
Level 3
Joined
Jun 9, 2010
Messages
59
Well, i dont get you... You mean that the Icon in the hero tavern should be gone but still the units can be purchasable?

That can be done whole throught triggering/JASS

No i mean making it where a unit can still be purchasable by a player from the hero tavern without a selection unit being their (you know how shops and taverns need to have selectable a unit to sell their wares to).

And Caedrus could you expand on what your talking about with making the taverna selectable unit? Becuase what im trying to get to is where a hero can be purchased from a tavern by a player with no selectable units (ex: like wisps) needing to be there (to make the area less cluttered)?
 
Level 7
Joined
Feb 23, 2010
Messages
227
Yes, easily.
Well one of the *easiest* ways for you would just to make the selection unit invisible (just give it no model) and unselectable (with locust). There are tons of other ways you can do it too, though, like making the tavern a selectable unit (for all players) with abilities (that pick a hero for a player).

You just answered a question like this. xD
Dummy units FTW!
Make a units model custom.
".mdl"
give it locust, and for kicks neutral invulnerability.

Place it NEXT to the tavern
???
Profit!
 
Level 3
Joined
Jun 9, 2010
Messages
59
Actually, why make a dummy unit? Just make a trigger, "When unit is sold" "Move sold unit to [region]"

It's a lot easier then going through thew hassle of making a dummy unit.

This has nothing really to do with the question i asked wouldnt that just moves the heroe when its purchased not making no selection unit needed?

You just answered a question like this. xD
Dummy units FTW!
Make a units model custom.
".mdl"
give it locust, and for kicks neutral invulnerability.

Place it NEXT to the tavern
???
Profit!

What is the purpose of giving the unit the locust ability?
So are you saying that it is not possible to make it where there are no selction units needed to choose a hero from a tavern? (that was my original question)

Becuase this just turns the unit invisible giving it the appearance that no unit
is needed?

Yeah, god forbid anyone ever read similar threads on the first page...

I wasn't aware that that there was another post like mine (and its not on the first page =P)? Or are you guys talking about something else?

What are your tavern abilities anyway?

Please expand more on what you are asking or trying to achieve?

But my taverns abilities are all set to the default, I just changed the units sold and so that it doesnt show up on the map as a nuetral unit dot (check box).... but thats all I've changed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ok well thanks for the comments guys but my question is stil not answered fully... I know you can create an invisible unit near the tavern as the selectable unit... but that just gives the appearance that no unit is there. I could use this idea for my map, but the question i still never got answered was "Is it possible to make a hero taverns heroes purchasable without a selection unit needed for the tavern to sell to?"

Thanks for all the help but please answer this question as I'm still confused on it? +rep to all who help me answer this last question (my original question).
 
Actually, why make a dummy unit? Just make a trigger, "When unit is sold" "Move sold unit to [region]"

It's a lot easier then going through thew hassle of making a dummy unit.

I think you got it wrong... he said that he wanted to be able to buy from a tavern even if no visible unit of that player is within range of the tavern...
 
Level 3
Joined
Jun 9, 2010
Messages
59
Yes... thats what my post above yours already comments on =P



even if no visible unit of that player is within range of the tavern...

Even if no unit is withen range at all... I'm wanting to find out if you can make a tavern's heroes purchasable without needing a selection unit... No visible or invisible unit needed.....
 
Yes... thats what my post above yours already comments on =P





Even if no unit is withen range at all... I'm wanting to find out if you can make a tavern's heroes purchasable without needing a selection unit... No visible or invisible unit needed.....

I just said no visible unit... of course you need a unit and you'll just make it invisible so that it looks like there's no unit...

basically create a dummy unit with no model, and 0 sight radius, give it locust to make it invulnerable and unselectable...


and if you think logically it would be impossible to buy without a buyer...
 
Level 3
Joined
Jun 9, 2010
Messages
59
I just said no visible unit... of course you need a unit and you'll just make it invisible so that it looks like there's no unit...

So then you do need a unit... its not possible to make it where you can select from a tavern without a selectable unit present? (thats the answer ive been looking for all along....)?

and if you think logically it would be impossible to buy without a buyer...

Thats the wonders of code though... you can change things and your not buying without a buyer the "buyer is the player".... thats called logically......
 
Level 3
Joined
Jun 9, 2010
Messages
59
Thank you thats the question apparently people wanted to answer through riddles.... thats all I wanted to know pretty much for this entire post... and that sucks... as you could think that the selectable unit or "buyer" was the player themselves =(

Thanks all I guess its to the invisible unit then =(
 
Level 3
Joined
Jun 9, 2010
Messages
59
that's what all we've been saying to you... ^^


Yes but you left me confused becuase you never officially said it was not possible purchase the heroe without a selection unit but now you have (maybe its to early for me to be doing this lol).... but thanks for your help Adiktuz and HellBreed +rep

I guess i call this SOLVED... for now....
 
Level 7
Joined
Feb 23, 2010
Messages
227
Yes but you left me confused becuase you never officially said it was not possible purchase the heroe without a selection unit but now you have (maybe its to early for me to be doing this lol).... but thanks for your help Adiktuz and HellBreed +rep

I guess i call this SOLVED... for now....

None for me? T-T

The editor isn't perfect and needs these little tricks to make it work. (This is why people do a lot of editing outside the editor's abilities- because it's just not powerful enough.)The point of locust and a model-less unit is to create the same EFFECT you're looking for. As the skill behind the creation of the map; you'll know its dirty secrets- but as a random player, mission accomplished. They'll have this CRAZY feel of being a unit on the field purchasing whatever.

If it helps giving you a mind set for it because it just doesn't click right to you... think of it as you don't exist in the game. The unit goes to the shop and picks out what he wants there. So... you if you want to go to the store to get some MTN DEW... you gotta get off your ass and go there.

Locust is the easy way to make a unit untargetable, unselectable, and I'm not sure- but invincible. Just remove the model and you'd never know it existed. (also remove the shadow and food cost obviously)
 
Level 3
Joined
Jun 9, 2010
Messages
59
None for me? T-T

Dont worry i gave everyone that posted useful information +rep (Including you) and thanks for the extra information ;)

And it all makes since to me (the invisible unit thing and needing a unit there to purchase the hero) I was just looking to see if it was possible to do without (which I know its not) because your right if your buying something you need a buyer... but hell things dont always HAVE to work logically in a sense and thats what i was looking for(which is impossible in the editor)... but dont worry i understand everything posted here and the answer =)

Thanks all,

Army_Strong
 
Status
Not open for further replies.
Top