Frictional Games Forum (read-only)
Player moving HELP - 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: Player moving HELP (/thread-5121.html)



Player moving HELP - vanjavk - 10-20-2010

hello I was wondering if you can help me with moving a player, like pushing him in one (specific) way, or someting like it, i just need player in that location or near it. Please help me. (i tried to use Cursed Summoning's script but it doesn't work please help)


RE: Player moving HELP - SLi78 - 10-22-2010

(10-20-2010, 01:47 PM)vanjavk Wrote: hello I was wondering if you can help me with moving a player, like pushing him in one (specific) way, or someting like it, i just need player in that location or near it. Please help me. (i tried to use Cursed Summoning's script but it doesn't work please help)

You can use

Code:
void  AddPlayerBodyForce(float afX, float afY, float afZ, bool abUseLocalCoords);

Use the function list http://hpl2.frictionalgames.com/amnesia:script_functions
it's helpfull.

Or you can search the forum, this was already discussed