# Update Revealer
Grammar — Update r to match its region
Flags —Native
|Action
Updates the revealer after a region has been moved or changed.
# Arguments
revealer
— Revealer
Returns — void
native void VisRevealerUpdate(revealer r);
# Related
Category: Visibility / Revealers
- Create Revealer —
revealer
— VisRevealerCreate - Last Created Revealer —
revealer
— VisRevealerLastCreated - Enable/Disable Revealer —
void
— VisRevealerEnable - Update Revealer —
void
— VisRevealerUpdate - Destroy Revealer —
void
— VisRevealerDestroy
# Examples
campaigns/void.sc2campaign — base.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.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);
}