Access dynamic tooltip data for responses
Posted: Mon Nov 04, 2024 3:46 pm
Hi there and thank you so much for creating DS, which is so much fun to use!
I can't get my head around the following problem:
I'm building a system where responses from the player can have several consequences, such as Variable A increases by an offset while Variable B decreases by a different offset. These variables can be different for every response.
It's no problem to calculate the outcome when the response is clicked, but I want to show the possible outcome of the responses in a tooltip and several TMP before the player clicks on the response. I already added the "Activate on Response Hover" script and it works as it should, but I don't know how to change these offset variables based on the response that is hovered.
Hope this is understandable.
I can't get my head around the following problem:
I'm building a system where responses from the player can have several consequences, such as Variable A increases by an offset while Variable B decreases by a different offset. These variables can be different for every response.
It's no problem to calculate the outcome when the response is clicked, but I want to show the possible outcome of the responses in a tooltip and several TMP before the player clicks on the response. I already added the "Activate on Response Hover" script and it works as it should, but I don't know how to change these offset variables based on the response that is hovered.
Hope this is understandable.