Hi,
I have some syntax questions.
- to remove a bunch of, for example, hotspots, we used to do:
Code
for(sub(i,hotspot.count,1), i GE 0, dec(i),
if(hotspot[get(i)].style == arrowstyle,
removehotspot(get(hotspot[get(i)].name));
);
);
I was wondering if that could be possible also with the nice new forall call.. like:
..seems not to work: https://www.virtualtuur.com/krpano/121/tests/forall/1/
perhaps just not possible..
- I love the new syntax like: var = expression;
I was wondering if there is a way to do like:
events[video_events].onkeydown = SpaceBar();
so .. there is no expression but an action call.. Can that work some way as well?
- roundval(hit.y, 1); can give warning: WARNING: set hit.y=0.0 - hit is null! .. when = 0..
Is that correct?
Tuur