• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

2 Problems

Status
Not open for further replies.
Level 20
Joined
Jul 6, 2009
Messages
1,885
I have 2 problems:
  • Is there a way to make players unable to see owner of a unit by hovering cursor over the unit? I've seen this in couple of maps,it's very important for my map.
  • Is it possible to remove or hide a dialog window that is opened to a player? I tried using Hide dialog function,but it seems it can't hide it while it's opened. What i'm trying to do is removing the dialog if the player doesn't click any button for 10 seconds. It would be fine if i can make the player click a dialog button also.

+rep for help.

Solved
 
Last edited:
@GangSpear,
1. I'll try to find it in game interface.
2. It doesn't remove dialog.

@InfinateAnswers,
1. But that would change player name (right?) and i want players to keep their names.
2. There's no need for trigger,i tried doing it on a test map like: Set dialog title,set button 1,button 2,show dialog and a trigger that will remove it after several seconds. Didn't work. Try to do it yourself in a test map and tell me if you succeed.
 
Instead of making a seperate trigger to hide it, put use a if then else statement saying if countdowninteger equal to or less than 0 then hide dialog

then create another trigger thats periodic and removes from the integer (or real) every cycle.

And for the ally properties, it does not effect a players username, just the display of player 1, player 2, etc.
 
InfinateAnswers,
Your solution does seem to work for computer players since it leaves blank text instead of player name,but not for human players. Actually,it doesn't even work for computer players whose name is changed by triggers,for example.

Is there a way to make players unable to see owner of a unit by hovering cursor over the unit? I've seen this in couple of maps,it's very important for my map.

So does anybody have solution to this? I'm pretty sure it's possible.
 
Status
Not open for further replies.
Back
Top