How do I separate text with ","?

Get help using Construct 2

Post » Thu Jul 16, 2015 10:44 am

Hi,

I have there objects with different ID(apple, banana, orange), when I touch on each one, I want to append the text with each one's name, like: on touch objects--> append text with ","&objects.ID, but the problem is the first ID that append to text should not have ",", but the rest should have. Please help, thanks
B
11
S
3
Posts: 172
Reputation: 1,178

Post » Thu Jul 16, 2015 10:48 am

Something like adding these conditions?

text.text is not equal to ""
> append : ","&objects.ID
--else
>append ; objects.ID
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jul 16, 2015 2:19 pm

forget to add condition thanks
B
11
S
3
Posts: 172
Reputation: 1,178


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests