Hi,
What is the proper way to access the boolean state whether the character is running (true or false)?
I have a script component on my main camera and I want it to be disabled if "isrunning" is false, and enabled if "isrunning" is true.
Thank you.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Would this be the Player character?
You can read this with:
Thank you! (Yes it's the player).
It's working well but now I need to detect the player's speed and it looks like GetTargetSpeed is private. Any idea how I could get the speed float ?
Thanks again
You can read the GetMoveSpeed function:
For a run-down of all available functions and variables for characters, see the Scripting Guide's entry on the Char script here.
Thank you a million times!