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

(01-18-2012, 10:53 PM)SilentStriker Wrote: Remember that when making a callback you need to use the right callback syntaxes so it should look like:

void OnStart()

{
AddEntityCollideCallback("Player", "THENAMEOFTHEAREA", "THECALLBACKNAME", true, 1);
}

void THECALLBACKNAME(string &in asParent, string &in asChild, int alState)
{
StartScreenShake(2, 2, 1, 2);
}
Smile
Thank you, but, actually, it doesn't shake at all :/ no error messages this time, but no shake :/



---------Want help with YOUR Custom Story? ---------
http://www.frictionalgames.com/forum/user-19049.html
01-18-2012, 11:04 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: 1 Guest(s)