Improving HYPE 4 :: Custom functions with arguments

you'd need to restructure your code.
something like:

  • start a custombehavior that holds the necessary information (cb do not have to preexist, you can built them on the fly ...)
  • you can 'catch' this custombehavior with the HypeEvent ' HypeTriggerCustomBehavior'
  • then process and redirect ...

this'll require some learning curve, but will offer a lot possibilities regarding Hype-scripting.

Best resource: https://github.com/worldoptimizer/HypeCookBook/wiki, Hype Command Pipeline, https://github.com/worldoptimizer/HypePowerPack

/// simple example special case symbols
cb_messaging.hype.zip (13.6 KB)

///just another example usage cb
swipeElementToMakeLogicalDecision.hype.zip (15.8 KB)