readonly int Hotspot.ID
Gets the hotspot number of this hotspot. This allows you to interoperate with old
script using the number-based hotspot functions.
Example:
Display("Hotspot hDoor is hotspot number %d.", hDoor.ID);
Display("Hotspot 3 is number %d.", hotspot[3].ID);
displays hDoor's hotspot number, and then displays hotspot 3's number (which will be 3).
See Also: Hotspot.GetAtScreenXY
|