Fog of War unit detection

Kingdom

New Member
Reaction score
0
I'm trying to develop a map and the basic idea is that the units can't produce it's own light... so if they walk away from the light sources and into the fog of war, they won't be able to see anything. Now... is there a way to detect if the user has entered the fog of war? I gave the unit 0 sight so that they can't see anything. I'd rather it to be GUI so that i can change if needed...

I couldn't think of any solid alternative to do this, so here i am, :(.

Thanks in advance!
 

jig7c

Stop reading me...-statement
Reaction score
123
you might have to use custom values to all the units that go in the fog
make their custom value to

don't have we on this comp so can't do much triggering
 

Kingdom

New Member
Reaction score
0
Well, there's no problem to that (adding Custom Values) since the player will be using only one unit through out the entire duration of the game... But how would i do that then? The fog of war detection thing?

Thanks again!
 

Kingdom

New Member
Reaction score
0
Oh, thanks guys, i've got it working now, :).

I used a custom aura to detect when the user is close to a light source... i gave the aura to everything that produces light.

Thanks!
 
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