Frictional Games Forum (read-only)
AddPropImpulse no effect?? - 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: AddPropImpulse no effect?? (/thread-6911.html)



AddPropImpulse no effect?? - XxItachi09xX - 03-16-2011

The script doesn't have effects. my script

void OpenDoorScare(string &in asParent, string &in asChild, int alState)
{
AddPropImpulse("mansion_1", 0, 0, -7.0f, "world");
}

When i trigger the area the door won't open. Did i put something wrong?


RE: AddPropImpulse no effect?? - Tottel - 03-16-2011

Could you at least *try* to use the search function?


RE: AddPropImpulse no effect?? - Raymond - 03-16-2011

(03-16-2011, 09:42 AM)XxItachi09xX Wrote: The script doesn't have effects. my script

void OpenDoorScare(string &in asParent, string &in asChild, int alState)
{
AddPropImpulse("mansion_1", 0, 0, -7.0f, "world");
}

When i trigger the area the door won't open. Did i put something wrong?

The door won't open but the object got blow yes? I got the same problem as well. Now i am fixing it. Good luck fixing too Smile.


RE: AddPropImpulse no effect?? - Tanshaydar - 03-16-2011

-7 is not enough by itself. Make it -100 and see.


RE: AddPropImpulse no effect?? - Raymond - 03-16-2011

(03-16-2011, 11:08 AM)Tanshaydar Wrote: -7 is not enough by itself. Make it -100 and see.

Nice one Big Grin! It just bam the door Big Grin.