HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Item Lock

12-12-2002, 02:11 AM#1
Trav
There is a problem on my map that will occassionally cause a player to lose control of his units. This occurs for an unknown reason, but it is somehow related to items, because a description of some item will appear in the players window.

It is easy to regain control by clicking on a unit not owned by you and then re-selecting your own, but not everyone knows this and it is still incredibly annoying.

Anyone know the exact cause so that I can fix it?
12-12-2002, 07:44 AM#2
Insaniteus
Trav, you've been here a long time, you know that you'll have to post alot more info on this before any of use can help you! Give us your triggers refering to that item.

I've heard of a glitch where setting yourself to ally makes you lose control of your units. That may be it.

-Insaniteus-
12-12-2002, 08:44 AM#3
Trav
Well, it's hard to be incredibly specific on this one. What happens is that occassionally a description of an item will show up on your command screen, such as if you clicked on the item (one on the ground, not in your inventory).

When this happens, you will lose control of your units (not in the sense of it saying "soandso has taken away control of his units from you"). If you click on a unit not owned by yourself, and then re-select your units, you can resume playing normally.

There was an even more serious issue relating to this bug in a map I played called Princess Prophecy where it would continually re-lock to that item description. I think that this may have had something to do with Cam-locking, but i'm not positive.

If it has something to do with triggers, which is possible, I wouldn't know what caused it. Although in my map it has happened even w/o cam locking on, but it happens rarely, so I am clueless in that department.
12-12-2002, 10:05 AM#4
Electromancer
A RP map me and my friend worked on has this problem. I think when certain trigger event(s) are run, it selects a item somewere in the map, but thats his guess. I think that it was hardcoded by blizz that when an item comes into view and is there for a certain amount of time, it selects the item so you know its there. And the part of reselecting the units and all that is probably a glitch of that. So maybe you can make a trigger to were if an item isnt collected within a minute of it being dropped then it is removed. That would get rid of those unwanted items. Just try a few things and see what works for you.
12-12-2002, 07:28 PM#5
DaKaN
i had this problem before, make a chat activated trigger that will:

Selection - Deselect all units
Turn on cinimatic mode
Turn off Cinimatic mode
set the heros of the player to a Unit array and u can also force this trigger to select thier hero using
Selection Add unit to current selection

you probly only need the selection one, but i been experiencing a problem with 1.04 that even thought he trigger says Turn on or Off cinimatic mode for All Players, sometimes it will turn it off, but the user loses complete control of the interface ( cannot order units, use buttons, not even the normal wc3 menu)

This seems to fix it all
12-12-2002, 07:44 PM#6
Trav
Thanks for the replies.