Help with coding

Game Editor comments and discussion.

Help with coding

Postby tsoccer93 » Sun Oct 03, 2010 4:25 pm

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?
tsoccer93
 
Posts: 3
Joined: Fri Oct 03, 2008 6:51 pm
Score: 0 Give a positive score

Re: Help with coding

Postby savvy » Sun Oct 03, 2010 4:51 pm

actor.x-=number;
actor being the actor you want to move, number being how much.
what do u mean by freeze a player?
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron