Display effect parameter in text object

How do I…

How do I display the value of a effect parameter in a text object ?

What is the expected result

The game should display the value of the “time” parameter of the Shockwave effect.

What is the actual result

The event sheet return an error because the synthax is not valid.

Related screenshots

I don’t think there is a way to this directly with expressions. You would have to add a variable to the background object to store the value.

To be precise to what Magicsofa wrote

You would create variable
Set parameter to that variable
And you print to text that variable

Thanks for your answers even though I’m not sure that I understand eather of you. I assume you mean I have to create and variable and assign the parameter’s value to that variable and finaly use that variable in the text object like this. But it shows the same error, there is something I’m not getting in your annwers :confused:

It sounds like they’re saying there’s no way to get the values of effects. So, you could store the values in a variable, maybe a structure if you’re setting multiple properties.

You would then set the effect based on the variable and if needed, check the value of the variable to get the value.

I find it odd if there’s no way to read values.

Set MySpeed to 100
Set speed of shockwave effect to MySpeed
If MySpeed > 100 then do something

Make variable call it VarEffect and set it to number
Now add action to change effect property number

And instead of number like 20 or 50 you put there VarEffect
Now you can set that variable to whatever value like 100 or 23
And it will affect the effect like you would change its values in effect window
And also print that variable to text object

So for example you have outline effect
You want to set its effect to 2
You can make VarEffect set it to 2
And in action set that effect to VarEffect

My god look i forgot i got this

You can press 1 2 to control VarA
And Q E to control VarB