Frictional Games Forum (read-only)

Full Version: AddBodyImpulse problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 ?
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.
it still doesn't work (don't know why) Sorry Confused
(09-22-2010, 02:31 PM)Jordo76 Wrote: [ -> ]it still doesn't work (don't know why) Sorry Confused

Use AddPropImpulse instead.
I did but only the lockholder move :/
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.
Work perfectly well,i think i understand scripts a little more now...