Skip to main content
added 7 characters in body
Source Link
CodeManX
  • 29.7k
  • 3
  • 92
  • 131

That is, can python code replace, for example, a single letter in a Text Object or insert a letter or string into a Text Object. 

Note that I'm not talking about replacing a Text Object with some updated string, such as, object.text = "new string"object.text = "new string". I'm thinking more about having access to the Text cursor ( notnot the mouse cursor  ) and positioning it on some letter that I'd like to replace. 

In other words, I'd like to have the same capability during BGE play that I have when altering a Text Object in the edit mode.

That is, can python code replace, for example, a single letter in a Text Object or insert a letter or string into a Text Object. Note that I'm not talking about replacing a Text Object with some updated string, such as, object.text = "new string". I'm thinking more about having access to the Text cursor ( not the mouse cursor  ) and positioning it on some letter that I'd like to replace. In other words I'd like to have the same capability during BGE play that I have when altering a Text Object in the edit mode.

That is, can python code replace, for example, a single letter in a Text Object or insert a letter or string into a Text Object. 

Note that I'm not talking about replacing a Text Object with some updated string, such as, object.text = "new string". I'm thinking more about having access to the Text cursor (not the mouse cursor) and positioning it on some letter that I'd like to replace. 

In other words, I'd like to have the same capability during BGE play that I have when altering a Text Object in the edit mode.

Tweeted twitter.com/#!/StackBlender/status/423482224185704448
Source Link
dragonbyte
  • 101
  • 1
  • 5

Can python be used to edit a Text Object?

That is, can python code replace, for example, a single letter in a Text Object or insert a letter or string into a Text Object. Note that I'm not talking about replacing a Text Object with some updated string, such as, object.text = "new string". I'm thinking more about having access to the Text cursor ( not the mouse cursor ) and positioning it on some letter that I'd like to replace. In other words I'd like to have the same capability during BGE play that I have when altering a Text Object in the edit mode.