Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MovePlayerForward ? How this basically works and how to make it working?
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#2
RE: MovePlayerForward ? How this basically works and how to make it working?

I have this:

void OnStart()

{
AddEntityCollideCallback("Player", "ScriptArea_1", "MoveForward", true, 1);
}

void MoveForward(string &in asParent, string &in asChild, int alState)
{
MovePlayerForward(10);
}

All you have to do is add a Script Area and make sure it is called ScriptArea_1 if not you can modify them ,but they have to be matching. I really don't see what problem you could run into. Could you give an example?

Special Custom Story for 2 special people!

[Image: LWFcAl]


(This post was last modified: 06-25-2012, 11:12 PM by Jagsrs28.)
06-25-2012, 11:12 PM
Find


Messages In This Thread
RE: MovePlayerForward ? How this basically works and how to make it working? - by Jagsrs28 - 06-25-2012, 11:12 PM



Users browsing this thread: 1 Guest(s)