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

Invidual Fog?

Status
Not open for further replies.
Level 7
Joined
Jun 20, 2007
Messages
255
Is it possible to create a fog thats shows to only one player? ive tried it but miserably failed.

Someone Help Me
 
Level 9
Joined
Jul 3, 2008
Messages
495
I dont know if this script below can do it. In the theory its possible
since the fog don't effect the game play.

JASS:
if GetLocalPlayer() == Player(0) then
call AddSomeFog()
endif

replace the call AddSomeFog() with a trigger that adds fog, can't
remember the name of the function.

And Player(0) = Player 1, so if you want it to only work for player 2.
then change Player(0) to Player(1) and blah blah blah...
 
Status
Not open for further replies.
Top