Is there a way, to test if an action is called with or without a parameter?
i.e. I want to do something like
Code
<action name="look2hotspot">
looktohotspot(%1, smooth());
</action>
<action name="loadmypano">
if(%1=="true", action(look2hotspot, %1));
loadpano(XYZ.xml, null, MERGE, BLEND(1));
</action>
So I want to be able to execute "action(loadmypano)" and "action(loadmypano, hotspot)" and determin in the action if to execute look2hotspot. Is there something like that "if(%1=="true", action()); ?
Achim