render_color changes?

All other Source.Python topics and issues.
Predz
Senior Member
Posts: 158
Joined: Wed Aug 08, 2012 9:05 pm
Location: Bristol, United Kingdom

render_color changes?

Postby Predz » Tue May 26, 2015 10:13 am

Have there been changes to the render_color property? Because the current <Entity>.color property doesn't work. You must now supply a Color instance directly to the render_color property rather than an integer. I got it to work my side by doing.

Syntax: Select all

player.render_color = Color(255, 0, 0)
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Tue May 26, 2015 2:36 pm


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 26 guests