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
#5
RE: Screen Shake

(01-18-2012, 10:20 PM)SilentStriker Wrote: If you want it to start shake when the player walks in to an area you need to make a collidecallback and then use the use screenshake without the void inside the callback Smile You get it or are you very new at scripting and don't know anything? Smile
haha well ya, with that said.. i started scripting like.. 2 days ago ^^
So, yeah, i'm a bit retarded on this Tongue i try as hard as i can ^^

but i really don't get it. i mean

this is what my script to shake looks like now:

void OnStart()

{

AddEntityCollideCallback("hangman", "HangArea", "StartScreenShake", true, 1);
}

void StartScreenShake(float afAmount, float afTime, float afFadeInTime, float afFadeOutTime);
{
StartScreenShake(3.0f, 2.3f, 0.0f, 0.0f);
}


---------Want help with YOUR Custom Story? ---------
http://www.frictionalgames.com/forum/user-19049.html
01-18-2012, 10:27 PM
Find


Messages In This Thread
Screen Shake - by Alento - 01-18-2012, 10:03 PM
RE: Screen Shake - by SilentStriker - 01-18-2012, 10:15 PM
RE: Screen Shake - by Alento - 01-18-2012, 10:17 PM
RE: Screen Shake - by SilentStriker - 01-18-2012, 10:20 PM
RE: Screen Shake - by Alento - 01-18-2012, 10:27 PM
RE: Screen Shake - by SilentStriker - 01-18-2012, 10:53 PM
RE: Screen Shake - by Alento - 01-18-2012, 11:04 PM
RE: Screen Shake - by SilentStriker - 01-18-2012, 11:05 PM
RE: Screen Shake - by Alento - 01-18-2012, 11:20 PM
RE: Screen Shake - by SilentStriker - 01-18-2012, 11:35 PM
RE: Screen Shake - by Alento - 01-19-2012, 04:57 PM
RE: Screen Shake - by SilentStriker - 01-19-2012, 08:12 PM
RE: Screen Shake - by Alento - 01-19-2012, 08:25 PM
RE: Screen Shake - by SilentStriker - 01-19-2012, 08:43 PM
RE: Screen Shake - by Alento - 01-19-2012, 08:55 PM
RE: Screen Shake - by SilentStriker - 01-19-2012, 08:57 PM
RE: Screen Shake - by Alento - 01-19-2012, 09:04 PM
RE: Screen Shake - by SilentStriker - 01-19-2012, 09:23 PM
RE: Screen Shake - by Alento - 01-19-2012, 09:34 PM
RE: Screen Shake - by SilentStriker - 01-19-2012, 09:48 PM
RE: Screen Shake - by Alento - 01-19-2012, 10:12 PM
RE: Screen Shake - by SilentStriker - 01-19-2012, 10:32 PM
RE: Screen Shake - by Alento - 01-19-2012, 11:00 PM
RE: Screen Shake - by SilentStriker - 01-19-2012, 11:12 PM



Users browsing this thread: 7 Guest(s)