How do I set a random font color

Get help using Construct 2

Post » Sat Sep 20, 2014 11:51 pm

It's telling me that the value "random" isn't a parameter and must have atleast one. Help pl0xors
B
4
Posts: 14
Reputation: 228

Post » Sun Sep 21, 2014 12:54 am

Try:
On Event > Set font colour to rgb((floor(random(255))), (floor(random(255))), (floor(random(255))))
B
56
S
15
G
13
Posts: 825
Reputation: 17,643

Post » Sun Sep 21, 2014 3:22 am

or int(random(255))
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
62
S
14
G
2
Posts: 286
Reputation: 6,576

Post » Sun Sep 21, 2014 10:35 am

Try this little demo
You do not have the required permissions to view the files attached to this post.
B
245
S
39
G
15
Posts: 1,944
Reputation: 40,252


Return to How do I....?

Who is online

Users browsing this forum: MoscowModder, Yahoo [Bot] and 5 guests