Actors position

CJJCJJ Member Posts: 2
edited July 2012 in Working with GS (Mac)
Hello i would like to change my actors position to another actors position how can i make this happen i check for colision between two actors then i want one of them to transport to another actor onscreen but i cant use move to or change atribute as my actors arent listed so i cant choose thier positions and just change it. thanks

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    You'll need to save both actors X and Y postions as game attributes and then use Change Atttribute behaviors to swap actor 1's X and Y with actor 2's.

    Jamie
  • CJJCJJ Member Posts: 2
    Thank you jamie

    How do i actually do this im a bit of noob where do i save these attributes and how and what attribut do i have to use integer,real etc

    thanks again
  • ericzingelerericzingeler Member Posts: 334
    Are they different prototypes?
  • CJJCJJ Member Posts: 2
    its all ok thanks for your help guys i figured it out yes they were different prototypes but i got it to work thanks again
Sign In or Register to comment.