Page 1 of 1

Help with coding

PostPosted: Sun Oct 03, 2010 4:25 pm
by tsoccer93
i have two things i need to do
A) i have one actor move another, how do i code that?
actor a is created. i want to be able to push "z" and have actor b move x=x-5; but it's inside actor a's events, so when actor a is destroyed the "x=x-5" is ineffectual
b) how do i freeze the player (say for a cinematic) without freesing the entire game?

Re: Help with coding

PostPosted: Sun Oct 03, 2010 4:51 pm
by savvy
actor.x-=number;
actor being the actor you want to move, number being how much.
what do u mean by freeze a player?