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 , Hole in Wall
Author Message
jessehmusic Offline
Senior Member

Posts: 423
Joined: Dec 2011
Reputation: 8
Post: #1
Screen shake , Hole in Wall
Hello i got a prob with this that when Screen shake starts all funitures should fall down from normal states and the wall should get a hole in it then you should get avabile to throw a chair it then you can go forward how do i make that cant find anything...

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
01-05-2012 09:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
XxRoCkBaNdMaNxX Offline
Posting Freak

Posts: 1,119
Joined: Nov 2010
Reputation: 5
Post: #2
RE: Screen shake , Hole in Wall
Please don't make 2 threads for the same problem.

I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.
01-05-2012 11:31 PM
Find all posts by this user Quote this message in a reply
Statyk Offline
Modmau5

Posts: 3,606
Joined: Sep 2011
Reputation: 198
Post: #3
RE: Screen shake , Hole in Wall
That, and this is a lot to script. Try experimenting with it yourself or you won't learn...

01-05-2012 11:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #4
RE: Screen shake , Hole in Wall
Why I like helping people who need it, constantly making threads asking how to do something and not attempting to do it yourself will NOT help; we are really spoon feeding you as to what you are supposed to do. I'll give you a hint:

StartScreenShake(float afAmount, float afTime, float afFadeInTime, float afFadeOutTime);


Means the SCREEN is going to shake. To make the furniture move; use

AddPropForce(string& asName, float afX, float afY, float afZ, string& asCoordSystem);


For the hole in the wall, look around the forum for wall entities.

01-06-2012 02:42 AM
Find all posts by this user Quote this message in a reply
Post Reply 




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