HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Double clicking unit group hotkey pans cam... getting rid of it?

11-05-2004, 02:58 PM#1
GaDDeN
When you press a unit group hotkey (for example, if i select a footman and press ctrl + 1, he will be put in unit group 1.) twice quickly, the camera will pan to the unit's position. I need to get rid of this, or pan the camera to another unit when you select him quickly in this way.

I tried a simple trigger with the event "Unit is selected" condition "Unit is (my unit)" and actions "Pan to (the other unit)" but this had a slight delay so the camera just jumped back and forth.

Any way to get rid of this?
11-05-2004, 07:33 PM#2
xxxSpikexxx
depends on what you need ... you could lock the camara to a unit so i can't be panned anywhere ... or just make it impossible for the player to select the unit.

well that depends on what you need the unit for and which camera you use...
11-05-2004, 10:16 PM#3
GaDDeN
Ah yeah maybe i should have explained the situation abit more.

I have a unit with locust, and then a hidden hero without locust (selectable). Now you have the hidden hero selected all the time, but when that hero is ordered anyway the locust unit will move instead, creating the illusion of a non-selectable hero on the battlefield. The only problem i have with this is that when i double select the hidden hero, the camera will pan to the corner of the map where i have my hidden hero. So neither of your ways will work =(