We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Several events, same action targeted

Home Forums Puzzles Several events, same action targeted

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44456
    georgeslambert
    Customer

    Hi,

    I have a long list of actions that are triggered by several events (html elements in parent doc and in objects in 3D window).

    Is there a way to avoid copy every actions in “on even” and “when clicked” puzzles? this takes alot of space… and generate alot of code, I assume.

    Thanx,
    Georges.

    #44457
    georgeslambert
    Customer

    Aswel, I have to double eveything because of the tablet access “touchstart” instead of “click” for html elements in parent doc.
    In short, Is there a way to create a list of events triggering an action?

    #44461

    Hi Georges,

    Is there a way to avoid copy every actions

    yes, you can put your puzzles into a procedure
    which in turn, will be called by your events

    Chief 3D Verger | LinkedIn | Twitter

    #44472
    georgeslambert
    Customer

    Thanks Yuri, All clear! That’s taking the problem by the other end, but it solves it too! :good:

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.