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



AddBodyImpulse problem - Jordo76 - 09-22-2010

Hello,i need help for the chamber 02 (The darkness) about AddBodyImpulse
It don't seem to work even if i do everything it need...
The door is named : DoorScare
It's a Prison Section door (why i need BodyImpulse instead of PropImpulse)
Can anyone help me ?


RE: AddBodyImpulse problem - jens - 09-22-2010

You can use prop on a door, but if you use body you will need to specify the name of the body as well.

So if the entity is named DoorScare then it should be DoorScare_BodyName the body name you can find out by opening the door in the model editor and select the body you want to apply the force to.


RE: AddBodyImpulse problem - Jordo76 - 09-22-2010

it still doesn't work (don't know why) Sorry Confused


RE: AddBodyImpulse problem - MulleDK19 - 09-22-2010

(09-22-2010, 02:31 PM)Jordo76 Wrote: it still doesn't work (don't know why) Sorry Confused

Use AddPropImpulse instead.


RE: AddBodyImpulse problem - Jordo76 - 09-22-2010

I did but only the lockholder move :/


RE: AddBodyImpulse problem - jens - 09-22-2010

You might need to add more impulse or use a timer to repeat an impulse a couple of times. The lockholder moved probably because it is not as heavy as the door itself.


RE: AddBodyImpulse problem - Jordo76 - 09-22-2010

Work perfectly well,i think i understand scripts a little more now...