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
 
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'.
 
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.
 
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.
 
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.
 
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.
 
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.
Back
Top