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
Walking script
Dizturbed Offline
Member

Posts: 160
Threads: 39
Joined: Jun 2011
Reputation: 0
#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
Mackiiboy Offline
Member

Posts: 101
Threads: 7
Joined: Jan 2012
Reputation: 11
#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
Website Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#3
RE: Walking script

It's MovePlayerForward and a looping timer

07-31-2012, 12:17 PM
Find
Dizturbed Offline
Member

Posts: 160
Threads: 39
Joined: Jun 2011
Reputation: 0
#4
RE: Walking script

Thanks.

07-31-2012, 12:32 PM
Find




Users browsing this thread: 1 Guest(s)