• 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.

[Trigger] Hide items within a region for playerx. Possible?

Status
Not open for further replies.
Level 2
Joined
Nov 10, 2008
Messages
14
Hello, thanks for the view.

Is possible to hide all itens within a region for only one player?
I don't think there's anything to add into the question.
 
Level 14
Joined
Jul 1, 2008
Messages
1,314
Try it, but i think you cant.

GetLocalPlayer() would allow you such things, but some things create fatal errors in wc3.
Such as hide/show units move units and other things to only one player.
As far as i know you only are allowed to show weather/strings/special effects/Quests to only one player.

Greets
 
Level 2
Joined
Nov 10, 2008
Messages
14
It worked, but i not sure, because i didn't tested online. If it work(And I'm almost sure it will) I gonna give you rep =D
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Get at least 2 players in the game. Hide the item from some(>=1 player) of them and show it to the rest(>=1 player).
Then click the allies button and see if they all are present in the game.
 
Level 2
Joined
Nov 10, 2008
Messages
14
It's somehow hard to test, because i can't find anyone to help me. And at Garena no one wants to help, they want Dota ¬¬
 
Level 2
Joined
Nov 10, 2008
Messages
14
I did like you said, i tested in 2 PCs of mine.

Hide at map initialization:
When I hide the itens for player1, player2 get disconnected...
When I hide the itens for player2, everything works fine

Hide When unit enters in region:
When I hide the itens for player1, everything works fine
When I hide the itens for player2, everything works fine

=D Thank you very much
 
Status
Not open for further replies.
Top