PDA

View Full Version : A hotspot id of -1 will never trigger.


jrodman
01-27-2004, 03:10 PM
If I set up a hotspot with starthotspot() and give it an id of -1, I can't trigger the hotspot.
I'm using Vizard 2.12.
The documentation for starthotspot() states that any integer will work.
This same code worked fine in 1.X, and every other integer that I've tried works fine.
I've special cased -1 to use 0 for now, and the code is doing what I want. Please let me know if this is a bug and when it will be fixed.

Thanks,
JP

farshizzo
01-27-2004, 03:22 PM
Hi JP,

Sounds like a bug to me. It will be fixed by the next release, which will be coming out in a week or so. Thanks for pointing it out.