Is it possible to trigger an event’s action by script instead of it’s real action?

Is it possible to trigger an event’s action by script instead of it’s real action?

e.g. LL.trigger(“K_HOME”) should trigger the action set to the home key on the current level

]]>
« (Previous Post)

3 Commentsto Is it possible to trigger an event’s action by script instead of it’s real action?

  1. Anonymous says:

    < ![CDATA[

    This could be possible for most events but not all because some need contextual data. Would a LL.runAction() be appropriate instead ?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    oc. It doesn’t matter to me how you call that method. And maybe data can be passed, if the event requires it?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    And maybe it should be possible to call LL.runAction , container.runAction and item.runAction

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *