Turn Fog of War Off

-Brainiac-

New Member
Reaction score
7
I want to disable the FoW in the selected area if player red types -fowoff.

Just that is not happening? What am I doing wrong? :(

Trigger:
  • Turn Fog of War Off
    • Events
      • Player - Player 1 (Red) types a chat message containing -fowoff as An exact match
    • Conditions
    • Actions
      • Set Players_North = (All allies of Player 1 (Red))
      • Set Players_South = (All allies of Player 5 (Yellow))
      • Player Group - Pick every player in Players_North and do (Actions)
        • Loop - Actions
          • Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across FoW North <gen>
      • Player Group - Pick every player in Players_South and do (Actions)
        • Loop - Actions
          • Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across FoW South <gen>
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, do you use a trigger to create the "FoW" at those places in the first place ? :S

In that case, you'll first need to destroy them, and then you can do what your trigger does ;)

(Note: That trigger leaks two forces ;))
 

-Brainiac-

New Member
Reaction score
7
Well, do you use a trigger to create the "FoW" at those places in the first place ? :S

In that case, you'll first need to destroy them, and then you can do what your trigger does

if I'm right, the FoW is a default on any map.
Besides, I just want to have the selected players to have a clear visability on that specific region.

(Note: That trigger leaks two forces ;))

you mean because I forgot to do:

Trigger:
  • Custom Script: Call DestroyGroup(udg_Players_North)
(<- Or something like that :confused:
 

Komaqtion

You can change this now in User CP.
Reaction score
469
if I'm right, the FoW is a default on any map.
Besides, I just want to have the selected players to have a clear visability on that specific region.

Yeah, it's default...
Don't know what's wrong then S:

you mean because I forgot to do:
Trigger:
  • Custom Script: Call DestroyGroup(udg_Players_North)


(<- Or something like that :confused:

Well, not quite correct :p

Trigger:
  • Custom Script: call DestroyForce(udg_Players_North)


Lowercase "c" is necessary :p
And also, it's a force, not a unit-group ;)
 

-Brainiac-

New Member
Reaction score
7
Yeah, it's default...
Don't know what's wrong then S:

Ok thanks :D I will try this in, like 30 mins. because I gtg eat first.

Oh yea, is the language that the WE uses replacable with Lua?
Someone on school told me that it was simmilar( or it was simimlar to JASS, don't know :p think it was the pre-made codes in WE though)..
 

SyrisX

New Member
Reaction score
3
Lua is used in world of warcraft programming, for mods as well as macros within the game. I dont think you will find it much use, if any, within the WE for WC3.

I could be wrong though..
 

-Brainiac-

New Member
Reaction score
7
Ah ok ^^

Can you answer this question to?

bj_goal was a code in someones script in JASS (But what does JASS stand for? It's not a coding language? the person who told me that about lua said it might be VB. What the hell that is, no clue though :p)

P.S.

The FoW works now :) Thanks everyone ;)
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Can you answer this question to?

bj_goal was a code in someones script in JASS (But what does JASS stand for? It's not a coding language? the person who told me that about lua said it might be VB. What the hell that is, no clue though :p)

JASS stands for Just Another Scripting Syntax ;)
 
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