Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Walking script
Author Message
Dizturbed Offline
Member

Posts: 160
Joined: Jun 2011
Reputation: 0
Post: #1
Walking script
If I want the player to walk or move from one area to another without them doing anything, what scripts do I need?

07-31-2012 11:15 AM
Find all posts by this user Quote this message in a reply
Mackiiboy Offline
Member

Posts: 101
Joined: Jan 2012
Reputation: 11
Post: #2
RE: Walking script
From the Engine scripts:

void MovePlayerForward(float afAmount)

“REQUIRES THE 1.2 PATCH: JUSTINE” Moves the player forward. It needs to be called in a timer that updates 60 times / second.
I have never tried it, but it sure works if you have installed the Justine patch.
.
(07-31-2012 11:15 AM)Dizturbed Wrote:  If I want the player to walk or move from one area to another without them doing anything, what scripts do I need?
07-31-2012 11:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
SilentStriker Offline
Posting Freak

Posts: 939
Joined: Jul 2011
Reputation: 39
Post: #3
RE: Walking script
It's MovePlayerForward and a looping timer

07-31-2012 12:17 PM
Find all posts by this user Quote this message in a reply
Dizturbed Offline
Member

Posts: 160
Joined: Jun 2011
Reputation: 0
Post: #4
RE: Walking script
Thanks.

07-31-2012 12:32 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)