Event Response to Selects a unit

Ben

New Member
Reaction score
4
Event - Player selects a Unit

Preferably using GUI, how do I refer to that selected unit in the trigger's actions. There is no "event response-selected unit" is it the triggering unit?

Thanks

Ben
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Events:
- Player 1 selects a unit
- Player 2 selects a unit
- Player 3 ...
- ...
Conditions:
Actions:
- The player is "Triggering player" and the unit is "Triggering unit".
 

Ben

New Member
Reaction score
4
I've set it up, problem is the delay is making it possible for someone who knows the hotkeys to issue an order in the delay time. I guess there's no way of eliminating this delay even using JASS?

Skli
 

Curo

Why am I still playing this game...?
Reaction score
109
I've set it up, problem is the delay is making it possible for someone who knows the hotkeys to issue an order in the delay time. I guess there's no way of eliminating this delay even using JASS?

Skli

I've had the exact problem. If this stumps even Ace, we are all DOOMED!
 

Ben

New Member
Reaction score
4
Fixed it :D - lagged the entire game by 0.2 seconds - Any action does not occur for 0.2 seconds! (weird when playing for the first time but you get used to it). That means there is time for the selection triggers to work - all order triggers have a condition based on a variable array set by the selection triggers. If the selection trigger variable is false, it will not run the order, and all problems are fixed!

Skli
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top