Hi krpano experts ..
i make kind of a krpano game with multichoice options.
in this game i get a bunch of hotspots made thrue user interaction in runtime which names i collect in array "arr"
i need to remove this hotspots and replace them thrue new ones in a new game situation.
when i try to remove it "dynamicaly" it this way:
Code
for(set(i,0), i LT arr.count, inc(i),
trace('arr[',get(i),'].value=',arr[get(i)].value);
removehotspot(arr[get(i)].value);
);
it doesn't work .. WHY???
<!--
Trace Result:
arr[0].value=item_0
arr[1].value=item_1
arr[2].value=item_2
arr[3].value=item_3
arr[4].value=item_4
-->
removing "manualy" after same user interaction with:
Code
removehotspot(item_0);
removehotspot(item_1);
removehotspot(item_2);
removehotspot(item_3);
removehotspot(item_4);
works