Skweek Member 70 Aug 4, 2009 #1 Can somebody pick the syntax error in this? Code: self.contents.font.color = actor.sp == 0 ? crisis_color : actor.sp <= actor.maxsp / 4 ? crisis_color : normal_color
Can somebody pick the syntax error in this? Code: self.contents.font.color = actor.sp == 0 ? crisis_color : actor.sp <= actor.maxsp / 4 ? crisis_color : normal_color
Zeriab Sponsor 895 Aug 4, 2009 #2 I see no syntax error in that horrible convoluted line. RMXP agrees with me. I would personally change the line to this: [rgss]self.contents.font.color = actor.sp <= actor.maxsp / 4 ? crisis_color : normal_color [/rgss] *hugs* Upvote 0 Downvote
I see no syntax error in that horrible convoluted line. RMXP agrees with me. I would personally change the line to this: [rgss]self.contents.font.color = actor.sp <= actor.maxsp / 4 ? crisis_color : normal_color [/rgss] *hugs*