Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Screen Shake
Alento Offline
Member

Posts: 64
Threads: 11
Joined: Jan 2012
Reputation: 0
#21
RE: Screen Shake

(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

---------Want help with YOUR Custom Story? ---------
http://www.frictionalgames.com/forum/user-19049.html
(This post was last modified: 01-19-2012, 10:26 PM by Alento.)
01-19-2012, 10:12 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#22
RE: Screen Shake

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



01-19-2012, 10:32 PM
Find
Alento Offline
Member

Posts: 64
Threads: 11
Joined: Jan 2012
Reputation: 0
#23
RE: Screen Shake

(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!


---------Want help with YOUR Custom Story? ---------
http://www.frictionalgames.com/forum/user-19049.html
01-19-2012, 11:00 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#24
RE: Screen Shake

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


01-19-2012, 11:12 PM
Find




Users browsing this thread: 1 Guest(s)