Attributes

drentekdrentek Member, PRO Posts: 25
edited November -1 in Working with GS (Mac)
Hi all,

I am trying to set up an effect where the actor changes color when an attribute is between certain numbers. e.g.

player health = 100 to 75 icon is green
player health = 74 to 50 icon is yellow
player health = 25 to 49 icon is orange
and so on.

If anyone has any ideas that would be great.

Comments

  • 0belisk0belisk PRO Posts: 189
    Rule
    When All of the following:

    Attribute - Player Health is Equal or higher than 75

    Change Attribute

    Self.Green to 1

    etc
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Well those are simple greater than less than rules that change each of the 3 color attributes for the actor

    Attribute self.health is greater than 50 and
    Attribute self.health is less than 75
    --Change self.color.red to xxx
    --Change self.color.blue to xxx
    --Change self.color.green to xxx

    Etc...
  • drentekdrentek Member, PRO Posts: 25
    Thanks guys,

    Was being silly & not thinking. :)
Sign In or Register to comment.