Set position of an actor

Non-platform specific questions.

Set position of an actor

Postby GreenGame » Tue Jan 16, 2007 5:18 am

I want to create an actor in the same position as that of an existing actor, but am not sure how.

And thanks for the quick responses to my other questions. :)
GreenGame
 
Posts: 8
Joined: Sat Dec 30, 2006 4:50 am
Score: 0 Give a positive score

Postby makslane » Tue Jan 16, 2007 5:53 pm

What actor you want get the position?
For example, to put the new actor in the same position of the creator, put in the 'Create Actor' event:

Code: Select all
x = creator.x;
y = creator.y;
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby GreenGame » Tue Jan 16, 2007 7:02 pm

That's just what I needed. Thanks
GreenGame
 
Posts: 8
Joined: Sat Dec 30, 2006 4:50 am
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest