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
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#1
Screen Shake

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

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
01-05-2012, 09:16 PM
Website Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Screen Shake

(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
}
01-05-2012, 09:33 PM
Find




Users browsing this thread: 1 Guest(s)