Replies: 2 comments 5 replies
-
Right, so, since you have the value in the instancer it is a matter of passing that along to the event listener. So for example, you might want to have one special event listener that handles "blah" events, e.g. If you have another inline event you want to handle, let's say "blurgh", you can instance another type If you just want to have a single event listener that handles everything based on the same string that is passed to the instancer, then you can make something like an |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the input. FYI, very nice job on the overall design of the system... It's very well thought out and cleanly put together, which makes it very easy to integrate with. I like how you abstracted out the various parts like system, render and file handling. It's clearly shows that a lot of thought went into it! |
Beta Was this translation helpful? Give feedback.
-
Am new to RmlUI and am currently in the process of understanding how events work.
If I have an inline event e.g. Start Game, how do I get the value "blah" from the event is generated?
I have my custom event listener instancer which directs to my custom EventListener. I know I have the "blah" value in the instancer, but this doesn't seem to propagate through to the actual event that triggers in EventListener (unless I am missing something).
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions