Ardenian
A
Ardenian
I am working on a system to manipulate fog of war.
However, I am not sure what lines to use to change the fog,
as there are fogmodifier and fogstate.
Up to now, I used lines like:
I aim to change the fog for each player seperatly.
It does not work though. Before searching for possible mistakes in my script I would like if this is the appropriate method to change visibility, fog of war and black mask.
Also, one of my theories is that my hashtable save is messed up.
If I recall right, one hashtable slot can save a real, an integer, a boolean, a string and one handle, correct ?
I can save both unit handle and integer in one slot ?
Can I save a location, a fogstate and a unit handle in one slot ?
However, I am not sure what lines to use to change the fog,
as there are fogmodifier and fogstate.
Up to now, I used lines like:
JASS:
call SetFogStateRadiusLoc( tempplayer, FOG_OF_WAR_MASKED, p, 64, true)
I aim to change the fog for each player seperatly.
It does not work though. Before searching for possible mistakes in my script I would like if this is the appropriate method to change visibility, fog of war and black mask.
JASS:
FOG_OF_WAR_FOGGED
FOG_OF_WAR_MASKED
FOG_OF_WAR_VISIBLE
Also, one of my theories is that my hashtable save is messed up.
If I recall right, one hashtable slot can save a real, an integer, a boolean, a string and one handle, correct ?
I can save both unit handle and integer in one slot ?
Can I save a location, a fogstate and a unit handle in one slot ?