Announcement

Collapse
No announcement yet.

Unique Trigger id?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unique Trigger id?

    Does anyone know a good way to uniquely identify a trigger in your plugins? I see there is a UID, however there is still a know bug that upon copying an event, all the UIDs for the triggers are copied as well, meaning there is no sure fire way that I know of to uniquely identify a trigger.

    Any help would be greatly appreciated

    Edit: To be clear, I want to uniquely identify the triggers in events that are associated with my plugin(s).

    #2
    It just dawned upon me that I could mix evRef and UID to make a unique id (I think). since you can't copy a trigger in the event itself, I guess each trigger in any given event should have a unique ID.

    Thoughts?

    Comment


      #3
      So based on my conclusion above, this is working for me so far. I haven't done exhaustive testing, but I feel that I can create a unique id by doing [evRef]_[UID].

      I hope this helps someone.

      Comment

      Working...
      X