Frictional Games Forum (read-only)

Full Version: Screen Shake
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello iv been trying fix a Screen Shake when player pick note but dont get it have the Screen shake but not the player pick is it a intrectcallback or
(01-05-2012, 09:16 PM)jessehmusic Wrote: [ -> ]Hello iv been trying fix a Screen Shake when player pick note but dont get it have the Screen shake but not the player pick is it a intrectcallback or
Go into the note's "entity" tab and fill in the entry for PlayerInteractCallback as "note1_pick" and in the script, put this OUTSIDE the OnStart:

void note1_pick(string &in asEntity)
{
//put your effects in here
}