how to use real attributes in the move to behavior

sheeposheepo Member Posts: 9
edited January 2012 in Working with GS (Mac)
Hello! So, I am making a top down shooter and I want the enemies to follow my player so I am doing this by making real attributes (I've tried it with integers too) that I constrain to my player character's x and y. So then I go to put the real attributes as the positions in my enemy character's move to behavior. I'm able to type it in but then when I click out of the box to type in the position it goes back to zero. I then tried to put it in the expressions editor and while it let me keep the letters I typed when I go to test the scene it goes haywire and just flashes the scene and random graphics. Does anyone know how to fix this? I've seen multiple forum threads where this method works, I think it has to do with the new version of gamesalad.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited January 2012
    The new version of gamesalad is fine. You need to open the expression editor, and select the attributes from the drop down list, you cant just type them in.
Sign In or Register to comment.