AddBodyForce Cabinet Doors Script Problem - 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: AddBodyForce Cabinet Doors Script Problem (/thread-21817.html) Pages:
1
2
|
RE: AddBodyForce Cabinet Doors Script Problem - Daemian - 06-15-2013 (06-15-2013, 06:27 AM)DeAngelo Wrote: I've only been working with HPL for a few months and in that time I've had to learn the editor from scratch, scripting from scratch, and model editor from scratch (I was thinking about learning blender, but that's a can of worms I'm not gonna open till my first CS is done)Lol, agreed. RE: AddBodyForce Cabinet Doors Script Problem - Mazl - 06-16-2013 (06-15-2013, 03:41 AM)Amn Wrote:(06-13-2013, 02:30 PM)DeAngelo Wrote: This would be a bit roundabout, but you could try this: Make a new entity that is a move object, but is invisible. (You could just modify the blockbox and save it as a new entity)Actually that's an awesome idea. Now when I Use this code: AddBodyImpulse( "cabinet_nice_2_Body_1", 0, 0, -3, "" ); AddBodyImpulse( "cabinet_nice_2_Body_2", 0, 0, -3, "" ); than it is working.... this is strange for me, but now its working, thanks Edit: oh no, now i know why it dont worked. It was because i locked the door at the beginning, and unlocked it in the middle. But when i not lock it at the beginning, than it is working.... (i know, very bad english ) |