[SCRIPT] Screen Shake - 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: [SCRIPT] Screen Shake (/thread-12700.html) |
RE: Screen Shake - Alento - 01-19-2012 (01-19-2012, 09:48 PM)SilentStriker Wrote: I found the problem remove the ; from (string &in asParent, string &in asChild, int alState);THANK YOU SOOO MUCH!! IT IS WORKING!! MY GAAHD!! THANK YOU! I found the problem remove the ; from (string &in asParent, string &in asChild, int alState); oh and you might want to lower the screenshake to like (0.3f, 1, 1, 0 Sorry to bother again.. but i just have question, if i have spawned a corpse when i click on a barrel, how to i make it remove after.. lets say.. 3-5 seconds? RE: Screen Shake - SilentStriker - 01-19-2012 (01-19-2012, 10:12 PM)Alento Wrote:Please don't tell me that your making a pewdiepie map... xP(01-19-2012, 09:48 PM)SilentStriker Wrote: I found the problem remove the ; from (string &in asParent, string &in asChild, int alState);THANK YOU SOOO MUCH!! IT IS WORKING!! MY GAAHD!! THANK YOU! If you've got it to spawn the corpse add this code in the same void as the spawn corpse: AddTimer("", 3, "UnSpawnCorpse"); Then use this void void UnSpawnCorpse(string &in asTimer) { SetEntityActive("NAMEOFCORPSE", false); } RE: Screen Shake - Alento - 01-19-2012 (01-19-2012, 10:32 PM)SilentStriker Wrote: Please don't tell me that your making a pewdiepie map... xPTHANK YOU! haha no no no ! xD i just doing it to scare my friends and so xD haha but , yeah, when u mention it, it is a bit pewdiepie x) but, it's not for him, haha Thank you for all your help! I really appreciate it! PS. I probably will text you again. If i getting stuck on anything else, if it's okey? I will of course try so solve it by myself first Thanks again! RE: Screen Shake - SilentStriker - 01-19-2012 (01-19-2012, 11:00 PM)Alento Wrote:NP man ^^ Just drop me a PM when you need some help =)(01-19-2012, 10:32 PM)SilentStriker Wrote: Please don't tell me that your making a pewdiepie map... xPTHANK YOU! haha no no no ! xD i just doing it to scare my friends and so xD haha but , yeah, when u mention it, it is a bit pewdiepie x) but, it's not for him, haha Good! It's too many pewdie maps out there x) |