Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Screen Shake
Author Message
jessehmusic Offline
Senior Member

Posts: 423
Joined: Dec 2011
Reputation: 8
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
Statyk Offline
Modmau5

Posts: 3,634
Joined: Sep 2011
Reputation: 200
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)