Frictional Games Forum (read-only)
Self moving? - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Self moving? (/thread-7989.html)



Self moving? - X4anco - 05-14-2011

Hello peoples,

I'm making my level and is there anyway for the player
to fall on the floor like when you go insane and move by yourself?

Thx Big Grin Big Grin Big Grin Big Grin
(05-14-2011, 02:44 PM)X4anco Wrote: Hello peoples,

I'm making my level and is there anyway for the player
to fall on the floor like when you go insane and move by "

Thx Big Grin Big Grin Big Grin Big Grin
"
By it's self


RE: Self moving? - Greven - 05-14-2011

(04-16-2011, 10:42 PM)Thomas Wrote:
(04-16-2011, 12:20 PM)Tanshaydar Wrote: Does anyone noticed it? In latest scene, Justine walks by herself, without me touching the keyboard. So, is this a new addition to the engine? Because there wasn't any code like that.

Yes.
void MovePlayerForward(float afAmount)
and it needs to be called in a timer that updates 60 times / second.

This is only if you have the expansion. If you dont it wont work since it was made for the expansion