# Fill Area Visibility
Grammar — Change visibility for player player to state within area and cliffLevel|Do/Do Not check cliff level
Flags —Native
|Action
Fill the specified region for the specified player with visibility of fogged, masked, hidden or unexplored.
# Arguments
int
— Playerregion
— Areaint
<preset::FillType> — Statebool
<preset::Do_Do_Not_Option> — Check Cliff Level
Returns — void
native void VisFillArea(
int player,
region area,
int fillType,
bool checkCliffLevel,
);
# Related
Category: Visibility / Basic
- Reveal Area —
void
— VisRevealArea - Explore/Unexplore Area —
void
— VisExploreArea - Fill Area Visibility —
void
— VisFillArea - Enable/Disable Visibility —
void
— VisEnable - Show/Hide Placement Models —
void
— libNtve_gf_ShowHidePlacementModels - Get Fog of War Alpha —
fixed
— VisGetFoWAlpha - Set Fog of War Alpha —
void
— VisSetFoWAlpha - Reset Fog of War Alpha —
void
— VisResetFoWAlpha - Visibility Is Enabled —
bool
— VisIsEnabled - Point Is Visible For Player —
bool
— VisIsVisibleForPlayer
# Examples
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8090
gf_SetPlayableWithLooseCameraBounds(RegionFromId(4));
VisRevealArea(libStEx_gv_pLAYER_01_USER, RegionCircle(PointFromId(7), 10.0), 5.0, false);
VisFillArea(libStEx_gv_pLAYER_01_USER, RegionEntireMap(), c_fillTypeFogged, false);
libNtve_gf_ShareVisionofUnit(libStEx_gv_hERO_FriendlyUther, true, libStEx_gv_pLAYER_01_USER);
UnitSetState(libStEx_gv_hERO_PlayerUnit, c_unitStateFidget, true);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8090
gf_SetPlayableWithLooseCameraBounds(RegionFromId(4));
VisRevealArea(libStEx_gv_pLAYER_01_USER, RegionCircle(PointFromId(7), 10.0), 5.0, false);
VisFillArea(libStEx_gv_pLAYER_01_USER, RegionEntireMap(), c_fillTypeFogged, false);
libNtve_gf_ShareVisionofUnit(libStEx_gv_hERO_FriendlyUther, true, libStEx_gv_pLAYER_01_USER);
UnitSetState(libStEx_gv_hERO_PlayerUnit, c_unitStateFidget, true);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:28522
TriggerEnable(libCOMI_gt_CM_Zeratul_TransportResetRally, true);
Wait(0.0625, c_timeGame);
VisFillArea(libCOMI_gv_cM_ZeratulPlayer, RegionEntireMap(), c_fillTypeMasked, false);
return true;
}