2 simple questions

luorax

Invasion in Duskwood
Reaction score
67
Okay, so I have to questions:

1, How could I disable the double clicking? I have a system which is unit selection based, but if I click on a unit, I select a lot of them and runs the wrong trigger. What should I do?
2, How can I show the other players' hero on the right without giving the other players' the possibility to control them? I know that's an ally based thing, but I don't know exactly how could I do it. As I remember there's a bug around it, but I'm not sure.

Thanks for the answers in advance!
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
1. Maybe you can post what you are trying to do, and maybe others can give a solution to work around that problem.

2. I suggest giving control to the allies, but make a trigger when the allies order the unit to do anything, (attack/move/hold position/etc.), order the unit to stop.
 

luorax

Invasion in Duskwood
Reaction score
67
As I know there's no way to detect who is the orderer player. I waas looking after the native, but I haven't found it.
 

DioD

New Member
Reaction score
57
1) get my full command cart system from graveyard, it will do job very well, since drawbacks of this system (like only one unit selection) is not drawbacks at all in your case.

2) not possible from GUI due stupid limits, you must share advanced controls for this player, but not normal controls, this will show icon but wont let you select or control hero.
 

luorax

Invasion in Duskwood
Reaction score
67
1, The interface buttons were Neutral Passive units. The line below solved my problem:



It doesn't bug anymore, although I have another bug now: the system is a periodic timer, which checks the units, and if one of them is selected then deselects it and fires the required functions. So, with the old bug there're no problems but now if I click enough fast it fires about 20 times. I have to find a new way to avoid this. (Maybe a boolean + a timer....)

2. I've already solved with a little "smart" and "move" blocker trigger. The heroes were warded, so the player can't order anything else. My only problem with it is that I can't use my mouse to attack the targets anymore... I've to move my cursor and click on the button dummy all the time....

EDIT:
Haha, yes, the timer+boolean thing solved my problem. Thanks! The topic is closable/deletable!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top