How to get one (real) attribute value and set to another attribute

Hello, i want to know how to set attribute1 value to attribute 2 ?

Thanks in advance ...

Comments

  • colandercolander Member Posts: 1,610
    edited December 2013
    This is one of the basic Behaviours in GS. When you first start using GS you should watch the tutorial videos they are pretty good and will teach you the basics which will make working with GS a lot easier.

    The Change Attribute behaviour sets an attribute to another attributes value, to a hard value, to a value stored in a table, a formula can be used to calculate a value, etc
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @Gamexs There really is no worry about asking questions even though they're basic ones but as @colander suggested, it might be wise for you to check out the Cookbook and the GSC Manual (both found in the Help drop down menu at the top of this page) to get the basic stuff learned.

    Anyhow, to add more info, use a Change Attribute behaviour:

    Change Attribute attribute2 to attribute1
  • GamexsGamexs Member Posts: 35
    i have gone through with change attribute already but it wasn't working ......
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    This may be obvious but just in case, if you had a Boolean Attribute and tried to assign it's value to an Integer Attribute, that may not work as expected. So what I'm saying is not all Attribute types are interchangeable with each other...
Sign In or Register to comment.