Frictional Games Forum (read-only)
HELP!!! amnesia script help please! - 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!!! amnesia script help please! (/thread-17255.html)



HELP!!! amnesia script help please! - Oliwarrior123 - 07-25-2012

Okay guys, im making a new CS but my script isn't working Sad
|
Here is it \/


void OnStart()
{
AddEntityCollideCallback("Player", "FlyingCorpse", "Flying", true, 1);
}

void Falling(string &in asParent, string &in asChild, int alState)
{
AddPropImpulse("corpse_male_1", 16.682, 29.438, 4.411, "world");
SetEntityActive("corpse_male_1", true);
}


What is Wrong here? i go into the area and nothing happens! Sad
plzz help!


RE: HELP!!! amnesia script help please! - Your Computer - 07-25-2012

Why send a corpse flying before it is even active?


RE: HELP!!! amnesia script help please! - Oliwarrior123 - 07-25-2012

I Solved the prob! i forgot to Deactive the corpse!

(07-25-2012, 02:46 PM)Your Computer Wrote: Why send a corpse flying before it is even active?
Yea i know im a dumb! Tongue