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

Shop lag decrement

Status
Not open for further replies.
Level 6
Joined
Oct 1, 2012
Messages
166
Heloes Hive Workshop

I made a topic not so long ago, after getting an answer I added another question there, but noone seemed to notice, so I'll post a new topic.

Here's my question - can I remove the lag which occurs between hero getting close enough to the shop and making him possible to buy anything? I couldn't find it in shop stats, nor in "Choose hero" skill (it has no order string, so I can't tell it to choose a hero) and in Interfece or Game Constants options.

Thanks in advance
 
Level 6
Joined
Oct 1, 2012
Messages
166
It is no bug. On a melee map, when a hero approches a shop, the shop is blocked for a short while. I couldn't find a better name here than 'a lag'.
 
Level 6
Joined
Oct 1, 2012
Messages
166
Yes, like a shop.

What I mean, is it's normal in Warcraft 3 for this shop lag to be. I just want to get rid of it, because my map is kinda fast.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
There is always a delay when you approach a shop before it "picks" the unit with the Select Unit ability.

The only way I can think is to have some dummy unit already next to the shop and have them actually buy the item, then you either drop and it give it to the right hero or kill it and make the right one for the hero.

This isn't the best solution though, it might just be worth it have the 2 second delay while it finds a nearby patron.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
You could increase the purchase range. This will mean the unit will be picked earlier as the shop can pick him from a further distance away. Most people will not realise that and still walk very close to the shop but to them it would appear the shop responds faster even though it is just starting to pick them from a further distance away to compensate for the delay.
 
Level 6
Joined
Oct 1, 2012
Messages
166
It wouldn't work, unfortunately, as the script in my map creates a shop unit next to the hero whenever he clicks a specific skills hence range is no matter, as the shop is just next to the hero instantly.
 
Level 6
Joined
Oct 1, 2012
Messages
166
Can't be done - the "Select a Hero" skill has no order string, so I can't do it via triggers. Or can I?
 
Status
Not open for further replies.
Top