
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i want this line to show up in the controller window
information.kerning.controller.SetExpression "SUTheText.text = (bug.distance) as string + "cm" without me having to type it in manually but its not working.
My script over all works fine everywhere but this line
information.kerning.controller.SetExpression "SUTheText.text = (bug.distance) as string\n0" ----this line WORKS when running a script meaning it shows up in the script controller window...so i know \n0 is not the problem
however when I use this script line which adds "cm" it will not show up in the script controller window when i run script
information.kerning.controller.SetExpression "SUTheText.text = (bug.distance) as string + "cm"\n0 ---DOES NOT shows up in the script controller window when i run script
but it does work if I type in manually in the window.
information.kerning.controller.SetExpression "SUTheText.text = (bug.distance) as string + "cm"
0"
are there restrictions to what you can type in script controller window?
seems like its the combo of "cm"/n0 that it doesnt like.
Any ideas what could be my problem?
opinions? thank you.
i want this line to show up in the controller window when i run my script
information.kerning.controller.SetExpression "SUTheText.text = (bug.distance) as string + "cm" without me having to type it in manually
Solved! Go to Solution.