Cast Values?

theCodeMonsterstheCodeMonsters Member Posts: 359
edited April 2012 in Working with GS (Mac)
Is there a way to "Cast" a Value similar to programing? Or if your not farmiliar with the term, it's like taking a string that has the value "1" and changing it to a Game Salad integer that has the value 1.

Best Answer

Answers

  • pinata14pinata14 Member Posts: 150
    rule:
    if "text attribute" [is] "1"
    "[change attribute] "integer attribute" (to) "1"
  • theCodeMonsterstheCodeMonsters Member Posts: 359
    edited April 2012
    I just went and retested this with a "real" attribute and the conversion from a text attribute to a real attribute worked via the change attribute behavior. Thanks everyone!
Sign In or Register to comment.