![]() |
How to do so Grunts poofs - 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: How to do so Grunts poofs (/thread-16077.html) Pages:
1
2
|
RE: How to do so Grunts poofs - Datguy5 - 06-12-2012 (06-12-2012, 07:08 PM)putty992 Wrote: Can just u guys stops fighting eachother and help me instead or u can fight in pm or something...You just copy them again... RE: How to do so Grunts poofs - putty992 - 06-12-2012 getting up FATAL ERROR main (46,1) :ERR :Unexpected end of file void OnStart() { AddEntityCollideCallback("Player", "TeleportScript", "NailThatSucker", true, 1); AddEntityCollideCallback("Player", "TeleportScript_2", "NailThatSucker_1", true, 1); AddEntityCollideCallback("Player", "TeleportScript_3", "NailThatSucker_2", true, 1); AddEntityCollideCallback("Player", "TeleportScript_4", "NailThatSucker_3", true, 1); } void NailThatSucker_1(string& asParent, string &in asChild, int alStates) { SetEntityActive("TeleportedNakedGuy_2", true); AddPropForce("TeleportedNakedGuy_2", -20000, 0, 0, "world"); PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy_2", 0, false); } void NailThatSucker(string& asParent, string &in asChild, int alStates) { SetEntityActive("TeleportedNakedGuy", true); AddPropForce("TeleportedNakedGuy", -30000, 0, 0, "world"); PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy", 0, false);' } void NailThatSucker_2(string& asParent, string &in asChild, int alStates) { SetEntityActive("TeleportedNakedGuy_3", true); AddPropForce("TeleportedNakedGuy_3", -20000, 0, 0, "world"); PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy_3", 0, false); } void NailThatSucker_3(string& asParent, string &in asChild, int alStates) { SetEntityActive("TeleportedNakedGuy_4", true); AddPropForce("TeleportedNakedGuy_4",0, 0, 0, "world"); PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy_4", 0, false); } RE: How to do so Grunts poofs - imgoneimdead - 06-12-2012 Isn't there a little option In the simple menu for hallucination? RE: How to do so Grunts poofs - Datguy5 - 06-12-2012 (06-12-2012, 09:02 PM)Dagrocks Wrote: Isn't there a little option In the simple menu for hallucination?The hallucination is already fixed. RE: How to do so Grunts poofs - putty992 - 06-12-2012 datguy5 : I just keep getting up FATAL ERROR ![]() RE: How to do so Grunts poofs - Datguy5 - 06-12-2012 Try changing the "world" into "World" in the addpropforce. RE: How to do so Grunts poofs - Your Computer - 06-12-2012 He has an apostrophe at the end of PlaySoundAtEntity in NailThatSucker. RE: How to do so Grunts poofs - Adny - 06-12-2012 Isn't "(string& asParent, string &in asChild, int alStates)" wrong? Or does that even matter? Shouldn't it be: (string &in asParent, string &in asChild, int alStates) "Help me Your Computer, you are my only hope!" -Princess Leia RE: How to do so Grunts poofs - Your Computer - 06-12-2012 (06-12-2012, 10:06 PM)andyrockin123 Wrote: Isn't "(string& asParent, string &in asChild, int alStates)" wrong? Or does that even matter? in (or out or inout) is not required by the syntax of the AngelScript script engine. It will compile safely with or without them. The callback should (at least, therefore, in theory) also be found by signature by the engine and called. |