how to use real attributes in the move to behavior
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