Placing a String into a message - How to?!
I'm creating a script that displays a message in the viewport. However in the message I want it to display the poly count of the selected object/s.
In order to do that I need to play a string between quotes. But when I do that it disregards the string as if it were text.
How do I bypass or fix this?
This is the main part of the script
base_name = ("Selection = " + c as string + " Tris and " + v as string + " Verts")
message = screenMessage()
message.display "base_name" time:5000 vertical:#top horizontal:#center textColor:[255,255,0] updatePosition:true showBox:false