How would you go about binding the text to different events for a pickup on a widget? Similar to something like God of War like when you pick up hacksilver or another type of material.
you probably want to create a struct and data table to define various things related to the pickups. One of these might be a text variable called “Pickup description”.
Then when item is picked up you can call an event dispatch which can send this struct as the signature. If you have a UI system it can be listening for this event and know that on item picked up event, get the “Pickup description” text and display it.
Key terms to search are:
Struct
Data Table
Event Dispatch
Ok I will give it a try. Thank you for taking the time to help me out and the descriptive information, it will be very helpful.
This is the best way, especially since it does not use a property binding which the title of this topic suggests (and is a bad way to get results).
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.