The power of #
eaguirre
Member Posts: 89
I found that # can give you the size of a string.
For example:
#"hello" will return 5
#"hello".."this" return "5this"
#("hello".."this") return 9
But still there is no way to get the content of an attribute by using a text concatenation (like 'Game.text'..'1'
I got "Game.text1" but I want the value of the attribute Game.text1 = "hello"
only works with the expression editor by selecting the attribute.
Anyone knows when this will be available?
For example:
#"hello" will return 5
#"hello".."this" return "5this"
#("hello".."this") return 9
But still there is no way to get the content of an attribute by using a text concatenation (like 'Game.text'..'1'
I got "Game.text1" but I want the value of the attribute Game.text1 = "hello"
only works with the expression editor by selecting the attribute.
Anyone knows when this will be available?
Comments
Create a text attribute: Game.text1 = "Welcome"
In a DisplayText behavior put this: Game.text[0] with the expression editor. Select the Game.text1 attribute and add the [0]
The display text is "Hello World!".
Is there an official "feature request" section?