The auto incrementing hotspot ID is all well and good in most situations but you must be careful if you have hotspots defined inside a loop (i.e. FOR/NEXT, GOSUB, GOTO, etc.).
Some times there will be more hotspots created or some may be turned off as you alter your object.
Then the ID of you hotspots will still increment but the IDs for individual hotspots may change and your linked dimensions will jump to follow the ID that they were originally linked to.
What was hotspot 6 may now become hotspot 9 and your dimension will alter to pick up the new hotspot 6 because that is what it thinks it is linked to.
Calling other objects with hotspots can also create a duplication of hotspot IDs.
I find fixing a hotspot ID is better so it always remains the same number.
If a hotspot is turned off because of the way the object is scripted then the node for that dimension will disappear as well (it should come back if that hotspot is turned on again).
If new hotspots are created then they will have unique numbers as well and won't affect existing dimensions.
Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11