Page 1 of 1

Copy y

PostPosted: Sun Jan 11, 2009 4:07 pm
by Caaz Games
how would i make an actor copy the exact position of anothers but only the y :?:

Re: Copy y

PostPosted: Sun Jan 11, 2009 5:27 pm
by pyrometal
in Draw Actor of the actor which has to track the y position, put this code in a script:

Code: Select all
y = actorname.y;

(NOTE: actorname is the name of the actor being tracked.)

Re: Copy y

PostPosted: Sun Jan 11, 2009 11:11 pm
by Caaz Games
Thanks Pyro :D