(Formerly known as DisableHotspot, which is now obsolete)
(Formerly known as EnableHotspot, which is now obsolete)
bool Hotspot.Enabled
Enables/disables the specified hotspot. If you set this to false, then all areas of the screen
that were previously made up of the hotspot now act as type 0 (no hotspot). You can turn the
hotspot back on later by setting this back to true.
This setting is persisted in-game; that is, it will not be reset when the player
re-enters the room.
The default value of this property is always true.
Example:
hBrownTree.Enabled = false;
will disable the hBrownTree hotspot.
See Also: Region.Enabled,
RemoveWalkableArea,
RestoreWalkableArea
|