Frictional Games Forum (read-only)
[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)

Pages: 1 2 3


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);

oh and you might want to lower the screenshake to like (0.3f, 1, 1, 0);
THANK YOU SOOO MUCH!! IT IS WORKING!! MY GAAHD!! Big Grin THANK YOU! Big Grin
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.. Tongue 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? Smile


RE: Screen Shake - SilentStriker - 01-19-2012

(01-19-2012, 10:12 PM)Alento Wrote:
(01-19-2012, 09:48 PM)SilentStriker Wrote: 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);
THANK YOU SOOO MUCH!! IT IS WORKING!! MY GAAHD!! Big Grin THANK YOU! Big Grin
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.. Tongue 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? Smile
Please don't tell me that your making a pewdiepie map... xP

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... xP

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);
}
THANK YOU! Big Grin 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 Big Grin

Thank you for all your help! I really appreciate it! Smile

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 Smile

Thanks again!




RE: Screen Shake - SilentStriker - 01-19-2012

(01-19-2012, 11:00 PM)Alento Wrote:
(01-19-2012, 10:32 PM)SilentStriker Wrote: Please don't tell me that your making a pewdiepie map... xP

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);
}
THANK YOU! Big Grin 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 Big Grin

Thank you for all your help! I really appreciate it! Smile

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 Smile

Thanks again!
NP man ^^ Just drop me a PM when you need some help =)

Good! It's too many pewdie maps out there x)