Frictional Games Forum (read-only)
HELP! How do i script a "flying jesus"? - 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: HELP! How do i script a "flying jesus"? (/thread-12111.html)



HELP! How do i script a "flying jesus"? - oscar1007 - 12-27-2011

Hey!
So just like the title says i want a body coming flying across a corridor when a player enters a specific area.
Can someone tell me how to script it?

Thanks!


RE: HELP! How do i script a "flying jesus"? - Obliviator27 - 12-27-2011

Use AddEntityCollideCallback as well as SetEntityActive and AddPropForce.


RE: HELP! How do i script a "flying jesus"? - ferryadams10 - 12-28-2011

Obliviator is right but we can't script the addpropforce for you without the map itself and atm my own computer is getting fixed so i'm on my dad's computer but through skype i might be able to help ya out with it.

Skype: ferryadams10



RE: HELP! How do i script a "flying jesus"? - oscar1007 - 12-28-2011

Thanks guys i will try the way you said. I think what i did wrong was adding another kind of "force". Thanks!