# Update Revealer

Grammar — Update r to match its region
FlagsNative | Action

Updates the revealer after a region has been moved or changed.

# Arguments

  • revealer — Revealer

Returns — void

native void VisRevealerUpdate(revealer r);

Category: Visibility / Revealers

# Examples

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:535

        else {
            RegionSetCenter(lp_movingRegion, libNtve_gf_PointOffsetTowardsPoint(RegionGetCenter(lp_movingRegion), 0.01, RegionGetCenter(RegionEntireMap())));
            VisRevealerUpdate(lv_movingRevealer);
            Wait(0.25, c_timeGame);
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:535

        else {
            RegionSetCenter(lp_movingRegion, libNtve_gf_PointOffsetTowardsPoint(RegionGetCenter(lp_movingRegion), 0.01, RegionGetCenter(RegionEntireMap())));
            VisRevealerUpdate(lv_movingRevealer);
            Wait(0.25, c_timeGame);
        }