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 Make an script work when Pick up key?
Mackiiboy Offline
Member

Posts: 101
Threads: 7
Joined: Jan 2012
Reputation: 11
#7
RE: Make an script work when Pick up key?

(06-13-2012, 10:15 PM)SilentHideButFine Wrote: Anyone?
.
Try an impulse instead of a force on the door:

AddPropImpulse("mansion_2", 50, 0, -50, "world");

You will not hear the sound if it should fade out in 3 seconds, try to put the value 0 instead and it will work just fine.

PlaySoundAtEntity("", "react_scare.snt", "mansion_2", 3, true);
(This post was last modified: 06-14-2012, 09:42 AM by Mackiiboy.)
06-14-2012, 09:41 AM
Website Find


Messages In This Thread
RE: Make an script work when Pick up key? - by Mackiiboy - 06-14-2012, 09:41 AM



Users browsing this thread: 1 Guest(s)