Herman Geschrieben 25. August 2023 Teilen Geschrieben 25. August 2023 (bearbeitet) Hello members , look first at the picture. In condition Property/Variable has value I can access the parameter "aNumber" in the graphical EV. It is one of the two triggers here. Now I want to access the same "aNumber" in action Set property/variable , but no trigger available in the graphical EV. We can solve it in Lua, and a workaround ( aNumber as object variable in the vehicle ) is possible but I'm not looking for that, nor for a Lua solution. Maybe another way to access the parameter in the action ? Thanks in advance for an answer. Regards, Herman Bearbeitet 25. August 2023 von Herman Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Neo Geschrieben 25. August 2023 Teilen Geschrieben 25. August 2023 Hi Herman, why do you want to change the trigger parameters? Kind regards, Neo Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Herman Geschrieben 25. August 2023 Autor Teilen Geschrieben 25. August 2023 (bearbeitet) Deleted this one, not relevant Bearbeitet 26. August 2023 von Herman P.M. with Neo Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Herman Geschrieben 25. August 2023 Autor Teilen Geschrieben 25. August 2023 (bearbeitet) Hello @Neo , members, This question stays Return values from custom events are passed back to the calling function in Lua. Of course if someone can give here an explanation / a simple example, thanks. Regards, Herman Bearbeitet 26. August 2023 von Herman P.M with Neo Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
EASY Geschrieben 26. August 2023 Teilen Geschrieben 26. August 2023 Hallo, vor 21 Stunden schrieb Herman: Of course if someone can give here an explanation / a simple example, thanks. the event calling the user-defined event... ... the user-defined event... ... the result... I know that this can also be solved without user-event, but it should show the principle. EASY Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Neo Geschrieben 26. August 2023 Teilen Geschrieben 26. August 2023 Hi Herman, EASY already presented you an example. Return values of user defined events are only meaningful within Lua, and they are required for the new external network interface, which should retrieve data from the event management by calling custom events. Kind regards, Neo Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Herman Geschrieben 26. August 2023 Autor Teilen Geschrieben 26. August 2023 1 hour ago, EASY said: but it should show the principle. Hello @EASY , thanks a lot ! Kind regards. Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Empfohlene Beiträge
Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren
Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können
Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen.
Neues Benutzerkonto erstellenAnmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden