Frictional Games Forum (read-only)
Walking script - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Walking script (/thread-17381.html)



Walking script - Dizturbed - 07-31-2012

If I want the player to walk or move from one area to another without them doing anything, what scripts do I need?


RE: Walking script - Mackiiboy - 07-31-2012

From the Engine scripts:

Code:
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?



RE: Walking script - SilentStriker - 07-31-2012

It's MovePlayerForward and a looping timer


RE: Walking script - Dizturbed - 07-31-2012

Thanks.